Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Passing argument into STDIN inside safe.pm revalby gideondsouza (Pilgrim) |
on Feb 11, 2013 at 18:33 UTC ( [id://1018212]=perlquestion: print w/replies, xml ) | Need Help?? |
gideondsouza has asked for the wisdom of the Perl Monks concerning the following question: So I have a little 'executor.pl' script that looks like this:
And I do this to invoke executor.pl :
Question: Is there a way I can pass some argument into the code being reval-ed as STDIN ?. So essentially I can reval some code and then pass it some known arg to its STDIN Please don't worry, this isn't any production code. I'm just doing this as a learning/curiosity exercise
Back to
Seekers of Perl Wisdom
|
|