Mega Code Archive

 
Categories / Perl / Statement
 

Using while statement to read from keyboard

while ($temp = <STDIN>) {     print $temp; }