Also, the form:
my $dir = $1 if ##regex_here##is a good idiom to become familiar with.
Not with my, though. The behavior of my ... if ...; is undefined.
the lowliest monk
In reply to Re^4: Regex question
by tlm
in thread Regex question
by cajun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |