Devel::CallerItem

Devel::CallerItem is an Perl object representing a function call from the stack of function calls.
Download

Devel::CallerItem Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jack Shirazi
  • Publisher web site:
  • http://search.cpan.org/~jacks/CallerItem-1.0/CallerItem.pm

Devel::CallerItem Tags


Devel::CallerItem Description

Devel::CallerItem is an Perl object representing a function call from the stack of function calls. Devel::CallerItem is an Perl object representing a function call from the stack of function calls.SYNOPSISUsage: require Devel::CallerItem; $call = Devel::CallerItem->from_depth($depth) || return; $passed_arguments_ref = $call->argument_list_ref(); $callpack = $call->pack(); $callfile = $call->file(); $callline = $call->line(); $callsub = $call->subroutine(); $bool = $call->has_args(); $bool = $call->wants_array(); ($arg_ref,@caller) = $call->as_array(); $call_string = $call->as_string($print_level); $passed_arguments_string = $call->arguments_as_string(); $printable_arg = Devel::CallerItem->printable_arg($arg,$print_level);Devel::CallerItem objects hold all the information about a specific function call on the stack. The information is basically that obtained from caller and @DB::args, packaged into an object. This comes with some useful methods to print the object in a nice way. Requirements: · Perl


Devel::CallerItem Related Software