Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl equivalent of C's #include

by tenatious (Beadle)
on Aug 25, 2000 at 05:01 UTC ( #29567=note: print w/replies, xml ) Need Help??


in reply to Perl equivalent of C's #include

yep. You can use require "./myvariables.pl"; at the top of your script. It imports everything in the perl library into your script. There are fancier ways to do the same thing, but this is probably the easiest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2022-10-06 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (26 votes). Check out past polls.

    Notices?