"John Utz" <[EMAIL PROTECTED]> writes:

> the reason that my code is in error is because i wrote
> 
>       $sax->setValidationSchema(
> 
> when i was supposed to write
> 
>       $sax->setValidationScheme(
> 
> but i'd still like to know why the error message was so seemed so
> irrelevant

You get used to it. That's one of the drawbacks of Perl's Object
Oriented programming. It resolves methods dynamically at run-time. It
tried to find a method and couldn't, so it tried to do autoloading,
and couldn't. So the final error message was what the autoloader gave:
i.e. couldn't locate auto/foo/bar/baz.al

Whenever you see that you know that:

1) You forgot to include the correct 'use Module' statement in your
   program

or

2) You mistyped the method name

In your case it was 2)

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to