in reply to Re^3: Is there a way to emulate 'print' using prototype?
in thread Is there a way to emulate 'print' using prototype?

How would you work around the missing file-handle on the indirect call? How do you do an indirect method call on an object that isn't there?

Sorry. I missed Devel::Declare. It looks interesting, though complex and incompletely documented.

I grant you that my comment on special syntax was wrong, and I retract it.

  • Comment on Re^4: Is there a way to emulate 'print' using prototype?

Replies are listed 'Best First'.
Re^5: Is there a way to emulate 'print' using prototype?
by ikegami (Patriarch) on May 20, 2011 at 15:11 UTC
    Follow the link

      If you mean the link to Devel::Declare, I wouldn't consider that an easy way to work around it. The docs for it aren't sufficient for me to do other than flail around trying different things, hoping that it will work. Other packages based on it, like MooseX::Declare, look much more interesting.

      If you mean something else, I don't follow.

        No. You're asking for details about

        I already mentioned indirect method call and its numerous limitations. The one you identified is easily worked around.

        so that's the link you should follow.