Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How to load the subs without running the script

by snoopy (Curate)
on Aug 03, 2010 at 22:49 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://852765]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-19 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found