sOKOle has asked for the wisdom of the Perl Monks concerning the following question:
Always returns:#!/usr/bin/perl open (COUNTING, "< D:\StronyKlientow\cematsil.bptnet.pl\main\Alicja\pe +rl\counter.txt")||die"can not open"; $count = <COUNTING>; close (COUNTING);
Doesn't metter what directory path I write. Is the code wrong? Or server (Apache) is not configured properly? Perl scripts works properly if I do not require any file operations.CGI Error The specified CGI application misbehaved by not returning a complete s +et of HTTP headers. The headers it did return are: can not open at D:\StronyKlientow\cematsil.bptnet.pl\main\Alicja\perl\ +counter.pl line 6.
Thank you in advance, Regards, sOKOle
Edit by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is it server configuration or my error ??
by amphiplex (Monk) on Jul 18, 2002 at 10:06 UTC | |
|
Re: Is it server configuration or my error ??
by rdfield (Priest) on Jul 18, 2002 at 10:09 UTC | |
by Anonymous Monk on Jul 18, 2002 at 10:56 UTC | |
by rdfield (Priest) on Jul 18, 2002 at 11:03 UTC | |
by sOKOle (Acolyte) on Jul 18, 2002 at 11:33 UTC | |
by sOKOle (Acolyte) on Jul 18, 2002 at 11:10 UTC | |
by hacker (Priest) on Jul 18, 2002 at 11:56 UTC | |
by sOKOle (Acolyte) on Jul 18, 2002 at 12:40 UTC |