http://qs321.pair.com?node_id=36162


in reply to Certainly learning

Pass the filename on the command line, and then do
while(<>) { # Inside the loop, $_ will contain each ten-digit number in turn }