ccdoub has asked for the wisdom of the Perl Monks concerning the following question:
Then this is executed like this.. dir /b | perl test.pl please some help!@piped = <STDIN>; print "last piped element: ".$piped[-1]; $user_input = <STDIN>; print "user input: ".$user_input;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: STDIN problemo
by almut (Canon) on Dec 18, 2009 at 20:31 UTC | |
by ww (Archbishop) on Dec 18, 2009 at 22:13 UTC | |
by ccdoub (Initiate) on Dec 19, 2009 at 03:27 UTC | |
|
Re: STDIN problemo
by ikegami (Patriarch) on Dec 18, 2009 at 19:25 UTC | |
|
Re: STDIN problemo
by eye (Chaplain) on Dec 20, 2009 at 07:16 UTC | |
by ikegami (Patriarch) on Dec 20, 2009 at 07:48 UTC |