in reply to AUTOLOAD not following @ISA as expected [solved]

You'll want to forget you ever read anything about perl's prototyping syntax. It isn't meant to be used and it will introduce bugs that only exist when you use that system. The only safe prototype is (&) and that's rather specialized. Until you can fully explain why prototypes are broken as implemented, you shouldn't use them.

I can and I don't use them. That's what Params::Validate is for.

  • Comment on Re: AUTOLOAD not following @ISA as expected

Replies are listed 'Best First'.
Re^2: AUTOLOAD not following @ISA as expected
by chibiryuu (Beadle) on Aug 02, 2005 at 23:01 UTC

    I've been getting into a habit of writing valid prototypes for my functions, for documentation more than anything. They're pointless here, so I took them out...

    Thanks for the pointer, though, I'll look into using Params::Validate in the future.

      That's just the thing, it adds bugs that wouldn't otherwise exist. If you need documentation, do it some other way.