Nik has asked for the wisdom of the Perl Monks concerning the following question:
arent opening files or loading them into arrays. The paths though to files ae correct. I just dont see the error. Linking fro one cgi to another is handled by the web server but opening/writing is handled by the OS. ok. But is nt it strange but the same commands used to work without full hdd paths in the past, until yesterday which i deleted the index.html that was pointing to index.pl?my @files = glob "/data/text/*.txt"; and my @tips; open FILE, "/data/text/tips.txt" or die $!; @tips = <FILE>; close FILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Absolute Path errors
by shmem (Chancellor) on Apr 10, 2007 at 12:46 UTC | |
| |
|
Re: Absolute Path errors
by blazar (Canon) on Apr 11, 2007 at 08:09 UTC | |
by shmem (Chancellor) on Apr 11, 2007 at 12:34 UTC | |
| |
| |
|
Re: Absolute Path errors
by Moron (Curate) on Apr 10, 2007 at 11:44 UTC | |
by shmem (Chancellor) on Apr 10, 2007 at 12:51 UTC | |
by naikonta (Curate) on Apr 10, 2007 at 14:02 UTC | |
by Moron (Curate) on Apr 10, 2007 at 13:00 UTC | |
by shmem (Chancellor) on Apr 10, 2007 at 13:20 UTC | |
by Moron (Curate) on Apr 10, 2007 at 13:26 UTC |