jerrygarciuh has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; use warnings; use diagnostics; my @words = qw(baloney has a first name); open (TEXTFILE,">>menu.txt") || die "where's the damn file? : $!"; print TEXTFILE "My baloney has a first name."; close (TEXTFILE) || die "close damn you : $!"; print "Content-type: text/html\n\n"; print "<HTML> \n"; print "I did it all for you. \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: write to local files? and why does strict bugger this online but not locally?
by ncw (Friar) on Sep 13, 2001 at 00:09 UTC | |
by VSarkiss (Monsignor) on Sep 13, 2001 at 01:35 UTC | |
by jerrygarciuh (Curate) on Sep 13, 2001 at 00:30 UTC | |
|
Re: write to local files? and why does strict bugger this online but not locally?
by ghost (Beadle) on Sep 13, 2001 at 04:16 UTC |