Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Two simple code style advice questions (my)

by tye (Cardinal)
on Jan 18, 2013 at 15:55 UTC ( #1014075=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Two simple code style advice questions (tye)
in thread Two simple code style advice questions

Well, I'd say the problem is that @{ } is defined syntactically as containing a full-fledged block (and thus it imposes its own lexical scope).

@$_{@tests} = (0)x@tests for \my %ntests;

- tye        


Comment on Re^3: Two simple code style advice questions (my)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2014-09-01 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (6 votes), past polls