Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Of course, I can just do 'key' => undef, etc... but this becomes tedious when you have a bunch of keys.
I want to do this when I am declaring the hash, and not afterwards. How can I do this when I first declare the hash without having to do 'key' => undef, for each key/value pair?
Thank you Monks.
|
|---|