in reply to I don't understand this code, perl delegates and empty parameter lists.

A class that inherits from Moo? Weird
  • Comment on Re: I don't understand this code, perl delegates and empty parameter lists.

Replies are listed 'Best First'.
Re^2: I don't understand this code, perl delegates and empty parameter lists.
by MidasTouch (Initiate) on Mar 20, 2015 at 09:15 UTC
    >A class that inherits from Moo? Weird well it uses Moo, so it inherits from Moo:Object right? btw how do I make newlines on this forum?

      Welcome, this explains the basics of formatting and post conventions.

      well it uses Moo, so it inherits from Moo:Object right?

      Well, pretend that Moo::Object doesn't exist :) thats stuff for Moo.pm not you and me:)

        I can't for the life of me figure out what $class->_new references. I know now what class $class references, but it does not inherit from any class and doesn't provide a _new subroutine. can you help? here is the file: https://github.com/alexrj/Slic3r/blob/master/lib/Slic3r/Print.pm