in reply to
Gracefull completion..
Press "Ctrl+D" followed by "Enter" on unix terminals, or "Ctrl+Z" followed by "Enter" under DOS. This indicates that there is no more data from the STDIN.
I'll leave the OO part of your question to other monks. :-)
Comment on
Re: Gracefull completion..
In Section
Seekers of Perl Wisdom