Welcome to the Monastery | |
PerlMonks |
Re: Looping thru an array with differing intervalsby Fastolfe (Vicar) |
on Dec 12, 2001 at 04:07 UTC ( [id://131119]=note: print w/replies, xml ) | Need Help?? |
FYI, This does not do what you think it does:
|| has a very high precedence. You probably want to use the lower-precedence 'or' operator here instead. Otherwise, your code above gets evaluated more like this:
Obviously not what you want.
In Section
Seekers of Perl Wisdom
|
|