Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
P is for Practical
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-04-19 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls