Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Analyzing Perl Code

by nitin1704 (Sexton)
on Sep 18, 2012 at 14:39 UTC ( #994294=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $child ( $sub->children ) {
     $child->start->add_content($caller)
     if ref $child eq "PPI::Structure::Block";
    }
    
  2. or download this
    my @all_subs = qw (sub1 sub2);
    for my $sub (@all_subs) {
     wrap $sub, pre => sub {
     print "Calling '$sub' in file: $0\n";
     };
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://994294]
Approved by toolic
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2018-04-22 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?