in reply to Counting using transliteration
The solution is of course to either write the loop like this:
or to use the special var $_ instead, and remove the assignment to $line. Like so:while( my $line = <MYFILE> ) { ... }
$Acount = tr/A//;
Hope this will help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Counting using transliteration
by basm100 (Novice) on Feb 25, 2002 at 14:06 UTC | |
by zengargoyle (Deacon) on Feb 26, 2002 at 01:33 UTC |