in reply to Re^2: Arrow Operator and questions related to Path::Class
in thread Arrow Operator and questions related to Path::Class

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.

Replies are listed 'Best First'.
Re^4: Arrow Operator and questions related to Path::Class
by kennethk (Abbot) on Sep 11, 2012 at 15:27 UTC
    <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.

      <pedantic>To be correct, “misdirection” isn’t the right word here.</pedantic>