Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Changing PM File at Run time

by mrpeabody (Friar)
on Dec 13, 2008 at 14:18 UTC ( [id://730156]=note: print w/replies, xml ) Need Help??


in reply to Changing PM File at Run time

1) You should put the data in a separate file from your source code.

2) You can't ask Perl to automatically update your variables when your data file changes. You have to do it by hand, perhaps on-demand or by checking the file's last-modified time on a regular basis.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found