|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Re: Re: Why do we say the =~ operator "binds"?by demerphq (Chancellor) |
| on Apr 18, 2004 at 09:11 UTC ( #346076=note: print w/ replies, xml ) | Need Help?? |
|
As long as $var was named something like $count, or possibly $matched, or the context itself gave this information then I would say its fine. If $var was actually $str or the like I would probably say it was a bug. If it said ($var)=/$pattern/ it would almost certainly be fine regardless.
---
demerphq First they ignore you, then they laugh at you, then they fight you, then you win.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||