note
marto
<P>This isn't "abuse" by any means. When you have <c>use strict;</c> you have to declare variables. Your example above shows you're not being consistent in your approach. Some variables are declared, for example <c>my $string=shift;</c> while others aren't. Declare <c>%hash</c>, <c>$kv</c> and <c>$vv</c> before you use them. See also:</p>
<ul>
<li>[doc://strict]</li>
<li>[doc://perlintro]</li>
<li>[http://learn.perl.org|http://learn.perl.org]</li>
<li>[http://perldoc.perl.org|http://perldoc.perl.org]</li>
<li>The [tutorials] section of this site</li>
</ul>
1046526
1046526