Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 about the Monastery: (12)
As of 2014-07-11 13:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (224 votes), past polls