...will act as "expected"! Many thanks all.$_ = "aaaabbbbcccc"; if ( not /^(\w\w)(\w\w)(\w\w)$/ and not /^(\w\w)\w\w(\w\w)\w\w(\w\w)\ +w\w$/ ) { die "failed"; } print "$_ = $1 $2 $3\n";
In reply to Re: capture vars undef
by msemtd
in thread capture vars undef
by msemtd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |