good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Confused by a Conditionalby CheeseLord (Deacon) |
on Jun 10, 2001 at 12:23 UTC ( [id://87280]=note: print w/replies, xml ) | Need Help?? |
I admit, that's pretty cool. But I personally like this just a bit better (only because it takes up less space on the line):
I think there's someway that might be broken, though, if I remember my reading on regexes... but if you chomp everything right, I think it will accomplish the same thing (with the added benefit(?) of placing exactly what it matched in $1). CheeseLord
In Section
Seekers of Perl Wisdom
|
|