in reply to
Elegant way to parse an optional prefix with default?
Never assume $1 and friends have a valid value unless the assignment is conditional on the match. I
learned
the hard way.
-Lee
"To be civilized is to deny one's nature."
Comment on
Re: Elegant way to parse an optional prefix with default?
In Section
Seekers of Perl Wisdom