And by the way, nice work in the TIEHANDLE. ;-P*ORIGINAL_STDIN = \*STDIN ; tie *STDIN, 'Tie::Input::Insertable', *ORIGINAL_STDIN; print "> " ; while (<STDIN>) { print STDIN "Hello, world\n" if /foo/; print "\n# $_\n" ; print "> " ; }
Graciliano M. P.
"Creativity is the expression of the liberty".
In reply to Re: Re: Manipulating STDIN
by gmpassos
in thread Manipulating STDIN
by ChwanRen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |