|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: changing source code in run timeby dHarry (Monsignor) |
| on Jun 20, 2011 at 11:31 UTC ( #910554=note: print w/ replies, xml ) | Need Help?? |
|
You can use the eval function to run perl code on-the-fly. I mean, supply some perl code to a running script, and from that script run the supplied code with the eval function. Whether or not that's a good idea is another matter. But is does sound a bit like a X-Y problem. Why do you think you need this feature, e.g. what are you trying to achieve? Cheers Harry
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||