Perl: the Markov chain saw | |
PerlMonks |
Re: Changing PM File at Run timeby mrpeabody (Friar) |
on Dec 13, 2008 at 14:18 UTC ( [id://730156]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|