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

Re: How to load the subs without running the script

by snoopy (Deacon)
on Aug 03, 2010 at 22:49 UTC ( #852765=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "but I don't want to see this\n";
    
    exit;  # don't want to exit either
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
    warn "trying mysub";
    mysub();
    
  3. or download this
    perl do.pl
    trying mysub at do.pl line 13.
    I want to see this
    Compilation finished at Wed Aug  4 10:08:26
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2015-07-31 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls