Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Keeping a Count in foreach

by particle (Vicar)
on Jun 17, 2002 at 19:04 UTC ( [id://175166]=note: print w/replies, xml ) Need Help??


in reply to Re: Keeping a Count in foreach
in thread Keeping a Count in foreach

if you're going to obfuscate it, why not

map print(($.||1..$.&&0)-1," $_$/"),@s;
and be done with it? {shudder}

~Particle *accelerates*

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-19 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found