http://qs321.pair.com?node_id=582813


in reply to Re^2: XMLin is not identifying the input file name passed to it
in thread XMLin is not identifying the input file name passed to it

oops! I meant

$data = $xml->XMLin($file, SearchPath => ['.']);

But that's not the error your getting. What version are you using? It might have been called searchpath in your version.

$data = $xml->XMLin($file, searchpath => ['.']);

Replies are listed 'Best First'.
Re^4: XMLin is not identifying the input file name passed to it
by Hofmator (Curate) on Nov 08, 2006 at 07:53 UTC
    or simply give the full path for the $file ...

    -- Hofmator

    Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Re^4: XMLin is not identifying the input file name passed to it
by greatshots (Pilgrim) on Nov 08, 2006 at 07:49 UTC
    I assume you are asking about my perl version
    Summary of my perl5 (revision 5.0 version 6 subversion 1) configuratio +n: Platform: osname=hpux, osvers=11.00, archname=PA-RISC1.1-thread-multi uname='hp-ux llbertha b.11.00 u 9000800 2002402864 unlimited-user +license '
    I have no idea on how to check the module version.