in reply to
Re^3: group things?
in thread
group things?
Oh, backreferences were the catch then? I saw about it in the tutorial... Thank you guys, both of you!
Comment on
Re^4: group things?
Replies are listed 'Best First'.
Re^5: group things?
by
Joost
(Canon)
on Apr 25, 2008 at 22:41 UTC
I only used a backreference so that I could have the single character in $1. You can do this without them, but then you'd have to
substr
to get a single char from the range to print.
"What should it profit a man, if he should win a flame war, yet lose his cool?"
[reply]
In Section
Seekers of Perl Wisdom