in reply to Need help with writing to db file
You need to change this:
$path = "C:\Program Files\sambar51\cgi-bin"; # to either $path = "C:\\Program Files\\sambar51\\cgi-bin"; # or $path = "C:/Program Files/sambar51/cgi-bin";
See Paths in Perl for more details. Also when you open a file the error (if any) is stored in $! so you get more info if you do:
open FILE, $file or die "Can't open $file, perl says error is $!";
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|