Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 chanting in the Monastery: (12)
As of 2015-03-06 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (180 votes), past polls