in reply to print chomp <STDIN>

You'll have to reverse your word order :-)
$_=<>; chomp; print;

Replies are listed 'Best First'.
Re^2: print chomp <STDIN>
by redkar (Novice) on Jul 24, 2008 at 08:40 UTC
    thanks for the help.... ll make sure that ill read the documentation properly before bothering the community