One solved problem...so I'll try agian....I'm having trouble rewriting
data.When my perl program creates a file, it can also write to it at that
time.When I try to rewrite the file (this works on windows) it leaves a
blank file.


#!/usr/bin/perl
$pgdat="/usr/home/usrnm/public_html/db";
print "Content-type:text/html\n\n";

open(LOGON,">$pgdat/bbb\.dat") || die "I can't open that file \n";
close(LOGON);
print LOGON"456\n";
print LOGON"123\n";
exit;

_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to