Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Arrow Operator and questions related to Path::Class

by choroba (Chancellor)
on Sep 11, 2012 at 14:44 UTC ( #993005=note: print w/replies, xml ) Need Help??


in reply to Arrow Operator and questions related to Path::Class

There are two instances of next in your code. They are very different:
$dir->next calls the method next of the object $dir, while next if ... jumps to the end of the current loop and iterates a next cycle.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993005]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2017-06-22 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (520 votes). Check out past polls.