according to perl doc the keys() function will take a reference stored in a scalar
Since 5.14, yes. (And it has to be an unblessed reference.)
Before that, it was a compile time error.
In reply to Re: How to keys($array_ref)?
by ikegami
in thread How to keys($array_ref)?
by networker2149
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |