Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Counter in foreach loop

by Bloodnok (Vicar)
on Dec 06, 2009 at 00:54 UTC ( #811290=note: print w/replies, xml ) Need Help??

in reply to Counter in foreach loop

On a point of pedantry &/or etiquette, may I be the first to point out that your code should've been enclosed in <c> ... </c> tags (as it says in emboldened font just below the text box used to enter your posting) - the use of those tags causes the code to be rendered clearly (c/w the line noise in your post) as ably demonstrated by the code blocks in the posts of previous 2, and most other, monks.


Thanx to AnomalousMonk for spotting out the deliberate, now corrected mistake wrt the closing tag.

A user level that continues to overstate my experience :-))

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2016-10-24 23:43 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (311 votes). Check out past polls.