in reply to Re: Manipulating STDIN
in thread Manipulating STDIN
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".
|
|---|