develooper Front page | perl.perl5.porters | Postings from April 2018

Re: [perl #133109] push on scalar forbidden: why?

Thread Previous | Thread Next
Dan Book
April 19, 2018 22:16
Re: [perl #133109] push on scalar forbidden: why?
Message ID:
On Thu, Apr 19, 2018 at 6:09 PM, L A Walsh <> wrote:

>    The manpage shows:
>       Functions for real @ARRAYs
>           "each", "keys", "pop", "push", "shift", "splice", "unshift",
>           "values"
>       Functions for real %HASHes
>           "delete", "each", "exists", "keys", "values"

each, keys, and values work on both arrays and hashes. As does exists and
delete, technically.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About