in reply to Re: Unexpected behaviour of /x Regexp modifier?
in thread Unexpected behaviour of /x Regexp modifier?
perl -le ' print scalar localtime; $_=scalar localtime; /^\QMon Mar \E (\d+) \s (\d+) : (\d+) : (\d+) \s (\d+)/x; print "$1 $2-$3-$4 $5" ' Mon Mar 16 21:22:30 2009 16 21-19-13 2009
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unexpected behaviour of /x Regexp modifier?
by johngg (Canon) on Mar 17, 2009 at 10:47 UTC |