|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re^2: Logical/defined or as lvalueby jo37 (Curate) |
| on Sep 03, 2024 at 20:12 UTC ( [id://11161550]=note: print w/replies, xml ) | Need Help?? |
|
When would it be useful? Consider items from @list to be counted, with one "given" set and a "rest". A pre-initialized hash %h1 holds the "given" set and an empty hash %h2 counts the rest. Then we could:
Greetings,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||