Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: How to pass variable values between perl scripts ?

by bh_perl (Monk)
on May 12, 2012 at 05:53 UTC ( [id://970137]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ############################################################
    #FIRST script: main_program.pl
    ...
    $SWITCHNAME = uc($SWITCHNAME);
    require "2.configuration_file.pl";
    
  2. or download this
    ############################################################
    #SECOND script: configuration_file.pl
    ...
    our $DUPLICATEDIR    = "/data/duplicate";
    our $WORKDIR        = "/data/work";
    our $LOOKUPDIR         = "/data/lookup";
    
  3. or download this
    ############################################################
    #THIRD script: open_file.pl
    ...
    }
    
    CREATE_OUTPUT_FILE();
    

Log In?
Username:
Password:

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

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

    No recent polls found