On Feb 15, Eduardo Vázquez Rodríguez said:
open(INPUT, $file) or die "Can't read from file: $! $file"; # Where we "move" the pointer to line number 10
$. = 0;
You don't need to initialize $. to 0. It's a magical variable that holds the right value.
-- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://japhy.perlmonk.org/ % have long ago been overpaid? http://www.perlmonks.org/ % -- Meister Eckhart
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>