I don't think a string has a STDIN filehandle. After you eval the string, it becomes part of your program. Your program has a STDIN filehandle.
Although, you can perform IO on a string (using open).
So essentially I can reval some code and then pass it some known arg to its STDIN
How about using root to insert the input?
In reply to Re: Passing argument into STDIN inside safe.pm reval
by 7stud
in thread Passing argument into STDIN inside safe.pm reval
by gideondsouza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |