2009/3/3  <sys...@wowway.com>:
> I'm trying to use an XML pretty printer called xmlpretty on UNIX that
> I downloaded from the net.  xmlpretty is a simple perl program that
> uses a module called YAWriter.pm that came with the package.  So
> xmlpretty has:
>
> use XML::Handler::YAWriter;
>
> However, with xmlpretty and YAWriter.pm in the same directory and
> running xmlpretty from this directory, perl complains it can't find
> YAWriter.pm:

I could be wrong (I have been in the past :)) but you have
YAMwriter.pm in your current working directory, then you have said
`use XML::Handler::YAWriter` then perl will expect a path, as the
error says, like "XML/Handler/YAWriter.pm". The colons '::' are
directory separators. You could could try a hack with `use YAWriter`
but that might cause inheritance problems. It sound like you didn't
installed the module correctly.

Good luck,
Dp.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to