Mega Code Archive

 
Categories / Perl / Language Basics
 

$_ stores the user input

while (<>) {     print "Too big!\n" if $_ > 10; }