NAME
Carp::Parse::CallerInformation::Redacted - Represent the parsed caller information for a line of the Carp stack trace.
DESCRIPTION
This module inherits from Carp::Parse::CallerInformation and adds the get_redacted_arguments_list() method to it. See Carp::Parse::CallerInformation
for the list of all the methods this module offers.
As a user, you should not have to create Carp::Parse::CallerInformation objects yourself, they will get created for you by Carp::Parse::Redact
.
VERSION
Version 1.0.1
SYNOPSIS
# Retrieve the redacted arguments array.
my $redacted_arguments_list = $caller_information->get_redacted_arguments_list();
METHODS
new()
Create a new Carp::Parse::CallerInformation::Redacted
object.
my $redacted_caller_information = Carp::Parse::CallerInformation::Redacted->new(
{
arguments_string => $arguments_string,
arguments_list => $arguments_list,
redacted_arguments_list => $redacted_arguments_list,
line => $line,
}
);
get_redacted_arguments_list()
Return an arrayref of the arguments parsed for this caller, with the sensitive arguments redacted out.
my $redacted_arguments_list = $caller_information->get_redacted_arguments_list();
get_redacted_line()
Return the redacted version of the original line from the stack trace.
my $redacted_line = $caller_information->get_redacted_line();
AUTHOR
Kate Kirby, <kate at cpan.org>
.
Guillaume Aubert, <aubertg at cpan.org>
.
BUGS
Please report any bugs or feature requests to bug-carp-parse-redact at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Carp-Parse-Redact. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Carp::Parse::CallerInformation::Redacted
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
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 & LICENSE
Copyright 2012 Kate Kirby & Guillaume Aubert.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License.
See http://dev.perl.org/licenses/ for more information.