Hi,
try out
www.cpan.org there is the complete perl documentation available
and if you want to read from stdin in a console use this:
$my_line = chop <STDIN>;
(chop deletes the last sign of a line, if you're reading from stdin this is normaly the <LF> that you don't need
)
cu