Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(tye)Re: Saving compile time by running subroutines as separate files with 'do'

by tye (Sage)
on Oct 01, 2001 at 19:29 UTC ( [id://115883]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($Action eq 'foo') {
        require 'foo.pl';
        &foo();
    ...
        require 'baz.pl';
        &baz();
    }
    
  2. or download this
    if(  $ENV{DEBUG}  ) {
        require 'foo.pl';
        require 'bar.pl';
        require 'baz.pl';
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found