Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: failure to compile list eval in block

by Athanasius (Canon)
on Dec 16, 2012 at 02:39 UTC ( #1009038=note: print w/ replies, xml ) Need Help??


in reply to failure to compile list eval in block

As an alternative to LanX’s workaround, you can use parentheses:

12:32 >perl -MO=Deparse -e " { (7, 10); } " { '???', '???'; } -e syntax OK 12:32 >

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-06-25 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.