Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Preventing unintended list expansion inside hash literals.

by dsheroh (Monsignor)
on Jan 05, 2017 at 10:00 UTC ( [id://1179005]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MData::Printer -E 'sub some_sub { return 1 } ; %h = ( foo => s
    +ome_sub(), bar => 42 ); p %h'
    {
    ...
        bar   42,
        foo   undef
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1179005]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-04-23 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found