Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by ww (Bishop)
on Sep 11, 2012 at 14:03 UTC ( #993001=note: print w/ replies, xml ) Need Help??


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

"HOW do i guess that next would indeed be written as next and not next()...?"

perldoc -f next at your command prompt.
next is an integral flow control function in perl... it's not something special to any particular (non-core) module.


Comment on Re: Arrow Operator and questions related to Path::Class
Select or Download Code
Replies are listed 'Best First'.
Re^2: Arrow Operator and questions related to Path::Class
by kamal (Sexton) on Sep 11, 2012 at 14:43 UTC
    Thanks, and what about $file->stringify ?
    I got:
    No documentation for perl function `stringify' found
    $perldoc -f stringify

      You will need to learn about the arrow operator ->, for example in perlop, and/or one of the Perl object tutorials, or maybe the Modern Perl book.

      The methods of an object are traditionally documented in the respective class documentation. In your case, that's Path::Class.

        <pedantic>To be fair, Path::Class performs some minor misdirection, and the methods of interest are found in Path::Class::Dir and Path::Class::File. But your main point is obviously correct.</pedantic>

        #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993001]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2015-07-29 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (266 votes), past polls