Hi All,

[Sat Oct  6 16:56:59 2001] abn.pl: Not enough space at abn.pl line 6

What is the error all about? 

Thanks
Suresh 

---------- Forwarded message ----------
Date: Fri, 7 Sep 2001 02:37:33 +0530 (GMT)
From: "Suresh Babu.A [Support]" <[EMAIL PROTECTED]>
To: brian d foy <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Unable to open a File


Hi Brain,

When i tried $!, i got the below error 

[Sat Oct  6 16:56:59 2001] abn.pl: Can't Open the File.
[Sat Oct  6 16:56:59 2001] abn.pl: Not enough space at abn.pl line 6

for the code

$lfile="Z:\\amro\\log\\sar\\pa.txt";
open (FHTML,"< $lfile") || die ("Can't Open the File.\n$!");

But when i change it the text file to my local hard disk, it opening
sucessfully.

Thanks
SureshA
[EMAIL PROTECTED]


On Thu, 6 Sep 2001, brian d foy wrote:

> In article <Pine.SO4.4.05.10109070040270.19166-100000@obelix>, 
> [EMAIL PROTECTED] (Suresh Babu.A) wrote:
> 
> > Hi All,
> > 
> > I am unable to open the file, using the below mentioned code. 
> > 
> > open (FHTML,"Z:\\amro\\log\\va.txt")  || die ("Can't Open the File");
> 
> make sure you check to see what the error is by inspecting the
> error variable $!
> 
>    ... die "Could not open file.\n$!";
> 
> -- 
> brian d foy <[EMAIL PROTECTED]> - Perl services for hire
> CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html
> Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



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

Reply via email to