Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Uninit Value - Hash Value Compareby choroba (Cardinal) |
on Nov 05, 2020 at 15:59 UTC ( [id://11123426]=note: print w/replies, xml ) | Need Help?? |
That's not the code you're running. It doesn't even compile! There is a missing semicolon on the grep line. Also, note that
is most probably wrong, did you mean instead? Your version populates a scalar variable $hash with the size of the hash and the rest of the code operates on the %hash variable from the outer scope.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|