in reply to Re: Consise way to filter out keys with undef values from a hash slice?
in thread Consise way to filter out keys with undef values from a hash slice?
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
|
|---|