Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: bareword hash keys

by dmmiller2k (Chaplain)
on Jun 22, 2003 at 22:15 UTC ( #267998=note: print w/replies, xml ) Need Help??

in reply to bareword hash keys

Some modules use hash keys beginning with a '-' for certain attributes of objects defined therein (witness,

The use of a leading '+' before an expression within curly braces may be used to force Perl to treat the expression as a hash key or value, rather than parsing the whole thing as a block.

Not certain if this answers your question precisely, and I am particularly unsure exactly in what ways Perl 5.8 differs from 5.6, but this has been my experience with 5.6 and below.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2023-09-25 17:35 GMT
Find Nodes?
    Voting Booth?

    No recent polls found