Do you know where your variables are? | |
PerlMonks |
Re: Question about ++ and hash valueby grep (Monsignor) |
on Dec 08, 2007 at 23:46 UTC ( [id://655899]=note: print w/replies, xml ) | Need Help?? |
++ is the auto-increment operator.
$hash{$line} is a hash assignment So $hash{$line}++ auto-increments the value of $hash{$line} Also please read Writeup Formatting Tips and use <code> tags around your code
grep One dead unjugged rabbit fish later...
In Section
Seekers of Perl Wisdom
|
|