I was surprised that the following is even legal syntax. I only knew slicing lists with @
> %args{'profile', 'user', 'password'};
Turns out it was introduced with 5.20 and returns a list of key/value pairs.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^2: Consise way to filter out keys with undef values from a hash slice?
by LanX
in thread Consise way to filter out keys with undef values from a hash slice?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |