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

got the following error
Code change : $data = $xml->XMLin($file,SearchPath => '.'); OUTPUT Input file :layer.xml: Unrecognised option: SearchPath at parse_report_layerxml.pl line 13

Replies are listed 'Best First'.
Re^3: XMLin is not identifying the input file name passed to it
by ikegami (Patriarch) on Nov 08, 2006 at 07:33 UTC

    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 => ['.']);
      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.

      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.