Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 perusing the Monastery: (7)
As of 2015-05-07 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (158 votes), past polls