Yoyoyo Yoyoyoyo wrote:
Is there anyway to add the End of file marker to the variable before I print it, so I don't have to do ctrl-d?

The control-D is part of the shell, not Perl.  You didn't say so but from your 
message I assume that this did the trick.  In other words, you are not 
redirecting the file as you think you are; your program is still trying to read 
STDIN.


--
Just my 0.00000002 million dollars worth,
 Shawn

"For the things we have to learn before we can do them, we learn by doing them."
 Aristotle

"If you think Terrans are comprehensible, you don't understand them."
 Great Fang Talphon

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to