Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm seeking for efficient way to read some constant Perl code from external text file and then execute it in main loop (I guess doing just "do filename" will read file again and again and this is not efficient to do in a loop).
Any advice, example how to do this efficiently ?
Thanks in advance, regards, Bulek.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to read code from file and execute it in loop ?
by BrowserUk (Patriarch) on Jan 05, 2010 at 20:22 UTC | |
Re: How to read code from file and execute it in loop ?
by ikegami (Patriarch) on Jan 05, 2010 at 21:03 UTC | |
by Anonymous Monk on Jan 06, 2010 at 00:01 UTC | |
by ikegami (Patriarch) on Jan 06, 2010 at 02:06 UTC | |
Re: How to read code from file and execute it in loop ?
by jffry (Hermit) on Jan 05, 2010 at 20:39 UTC |