That is the file that I confirmed is readable.

In fact I swapped lines 16 and 18 and the error moved to line 18. I have also 
written a small script that opens both
files and reads the first 3 lines. That script completed successfully.

After swapping lines 16 & 18 I see that the error has moved, but that (I think) 
also tells me that the xls file gets
parsed and the xconf does not, so it may be that the xconf file is not in the 
proper format. But if swapping the lines
means what I think then the issue is inside the xconf file and not in the code.

Does that logic work?

Tony

P.S. Sorry for the mis-sent email Tom

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Phoenix
> Sent: Monday, May 14, 2007 9:15 PM
> To: [EMAIL PROTECTED]
> Cc: beginners@perl.org
> Subject: Re: LibXML help
> 
> On 5/14/07, Tony Heal <[EMAIL PROTECTED]> wrote:
> 
> > When I run this, I get 'No such file or directory at /usr/lib/perl5/XML/
> > LibXML.pm line 518.
> >  at ./temp.pl line 16'. I have confirmed that the file exists and is 
> > readable.
> 
> The file named there is not the one that doesn't exist; that's the
> source code that was running when Perl died.
> 
> >             my $source = $parser->parse_file( '/usr/local/twikixconf/
> > tmpxconf/epace/src/conf/epace.xconf' );
> 
> Is that line 16? I'd suspect that that names the file that needs to be 
> readable.
> 
> Hope this helps!
> 
> --Tom Phoenix
> Stonehenge Perl Training


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to