Don't ask to ask, just ask | |
PerlMonks |
Re^2: Getting Matching Items From An Arrayby dragonchild (Archbishop) |
on Jul 06, 2004 at 15:21 UTC ( [id://372123]=note: print w/replies, xml ) | Need Help?? |
I'm not so sure there's a huge benefit here.
Basically, all you're saying is whether that element was assigned to. That's different from "Is this index within the bounds of the array?", which is tested by if ($i <= $#array). ------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose I shouldn't have to say this, but any code, unless otherwise stated, is untested
In Section
Tutorials
|
|