Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Splitting program into modules

by stevieb (Canon)
on Nov 14, 2018 at 03:23 UTC ( [id://1225766]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
        my $num = shift;
        return ++$num;
    }
    
  2. or download this
    use warnings;
    use Devel::Trace::Subs qw(trace trace_dump); # injected by Devel::Trac
    +e::Subs
    ...
        my $num = shift;
        return ++$num;
    }
    
  3. or download this
    $ENV{DTS_ENABLE} = 1;
    
    three(5); # this is the original call stack you're running
    
    trace_dump();
    
  4. or download this
    216
    
    ...
        file:    test.pl
        line:    22
        package: main
    
  5. or download this
    $ENV{DTS_ENABLE} = 1;
    
    trace_dump();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225766]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-23 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found