Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^6: Perlplexation - foreach shoulda Known

by JavaFan (Canon)
on Apr 14, 2012 at 01:19 UTC ( #965019=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Perlplexation - foreach shoulda Known
in thread Perlplexation - foreach shoulda Known

If you're willing to scribble away the value of $. in a variable at the beginning of the body, you might as well write:

my ($i, $j); foreach .... { ++$i; foreach .... { ++$j; } }


Comment on Re^6: Perlplexation - foreach shoulda Known
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2014-07-22 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (115 votes), past polls