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

Re: Calling variables from external file, with strict

by bronto (Priest)
on Jun 28, 2002 at 09:57 UTC ( [id://177976]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyProgramConfiguration ;
    
    ...
      # I don't care how you called me (class or object method)
      return %config ;
    }
    
  2. or download this
    use strict ; # don't leave it out
    use MyProgramConfiguration ;
    
    my %c = MyProgramConfiguration->gimmeconf() ;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-03-28 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found