in reply to Re^3: Missing $ on loop variable
in thread Missing $ on loop variable
next is not really useful, and dare i say obsolete, since there is no other code aside the regexp conditional in the foreach block
I'd say I agree it's not useful in this code, but calling it obsolete doesn't make a whole lot of sense. You must be operating with a different definition of obsolescence than I am. ;-)
As for the grep rewrite, there is a gotcha, which might complicate things in certain situations. But i'll save it for another day
Please, by all means, don't save it for another day. Even for those of us who might already know of this "gotcha", mentioning it without even narrowing it down is not all that nice (and no, linking to the grep docs does not narrow it down). :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Missing $ on loop variable
by psychotic (Beadle) on Dec 03, 2005 at 14:39 UTC | |
by revdiablo (Prior) on Dec 03, 2005 at 19:27 UTC |