Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-06-27 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.