|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: = rather than =~ ?by inman (Curate) |
| on Jan 02, 2004 at 18:04 UTC ( #318381=note: print w/ replies, xml ) | Need Help?? |
|
Another potentially confusing variation would be if list context was used since the match will return the list of matched sub-expressions. In the example below, $input is assigned a value for each iteration wheras $1 is only changed on a good match.
Output:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||