I have posted this to XML and no response there. so maybe it's simpler than
that...

I have script that uses XML::Simple, which works when run via command line:
/yyy/TreeInfo/tmp/gather_os_info.pl

but if run it via an rsh command (on the same host for now):
/bin/rsh host1 /yyy/TreeInfo/tmp/gather_os_info.pl

I get the following error:
Can't locate object method "new" via package "XML::SAX::PurePerl" (perhaps
you forgot to load "XML::SAX::PurePerl"?) at
/yyy/perl-5.6.1-unix/lib/perl5/site_perl/5.6.1/XML/SAX/ParserFactory.pm line
37.

** NOTE **: Specifically it fails on the XMLin() function call supplied by
XML::Simple.

Strange huh? host1 is the same host where I tested it via command line
alone.

Please I can't figure this one out for the life of me.

Thanx in advance,

Nikola Janceski

When I am working on a problem I never think about beauty. I only think
about how to solve the problem. But when I have finished, if the solution is
not beautiful, I know it is wrong.
-- Buckminster Fuller (1895-1983) 


----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


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

Reply via email to