anthony brooke wrote:
> Hello, I know that this is a very common problem, but I am very sure that
> the file exist in that directory, also its permission is -rwxrwxrwx , why
> does it give such an error ? What are the other potential problems that cause
> this ? Thanks
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
Anthony
It would help if you could post a sample of you script and give the
actuall error.
open(RULES, 'rule.pl') || die "Could not open rule file 'rule.pl'. Error
$!<br>";
Could not open rule file 'rule.pl'. Error No such file or directory<br> at
/var/www/modperl//ParserGenerator.pm line 368.
Btw, why do I have double forward slash on that shown module ?
When I put these code in /var/www/modperl//ParserGenerator.pm
use Cwd;
die ">>".getcwd."<<";
[Wed May 21 15:17:46 2008] [error] >>/<< at
/var/www/modperl//ParserGenerator.pm line 44.\n
I think I am confuse now.
Send instant messages to your online friends http://uk.messenger.yahoo.com