Carp::Parse::CallerInformation - Represent the parsed caller information for a line of the Carp stack trace.
Version 1.0.6
See the synopsis of Carp::Parse for a full example that generates Carp::Parse::CallerInformation objects. As a user, you should not have to create Carp::Parse::CallerInformation objects yourself.
Carp::Parse
# Retrieve the arguments string. my $arguments_string = $caller_information->get_arguments_string(); # Retrieve the arguments array. my $arguments_list = $caller_information->get_arguments_list(); # Retrieve the original line, pre-parsing. my $line = $caller_information->get_line();
Create a new Carp::Parse::CallerInformation object.
Carp::Parse::CallerInformation
my $caller_information = Carp::Parse::CallerInformation->new( { arguments_string => $arguments_string, arguments_list => $arguments_list, line => $line, } );
Return a string of the arguments parsed for this caller.
my $arguments_string = $caller_information->get_arguments_string();
Return an arrayref of the arguments parsed for this caller.
my $arguments_list = $caller_information->get_arguments_list();
Return the original line from the stack trace.
my $line = $caller_information->get_line();
Kate Kirby, <kate at cpan.org>.
<kate at cpan.org>
Guillaume Aubert, <aubertg at cpan.org>.
<aubertg at cpan.org>
Please report any bugs or feature requests to bug-carp-parse at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Carp-Parse. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-carp-parse at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Carp::Parse::CallerInformation
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Carp-Parse
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Carp-Parse
CPAN Ratings
http://cpanratings.perl.org/d/Carp-Parse
Search CPAN
http://search.cpan.org/dist/Carp-Parse/
Thanks to ThinkGeek (http://www.thinkgeek.com/) and its corporate overlords at Geeknet (http://www.geek.net/), for footing the bill while we eat pizza and write code for them!
Copyright 2012 Kate Kirby & Guillaume Aubert.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/
To install Carp::Parse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Carp::Parse
CPAN shell
perl -MCPAN -e shell install Carp::Parse
For more information on module installation, please visit the detailed CPAN module installation guide.