Mattk470 has asked for the wisdom of the Perl Monks concerning the following question:
my $config = 'e:\Inetpub\wwwroot\msdata\config.txt'; open (CON, $config); my @list = <CON>; close CON; my $list = join( '', @list ); @list = split(/=/, $list); my $testnum = $list[1]; open (CONOUT, ">".$config); print CONOUT '[filenumber]=1'; close CONOUT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: my program will run on my computer but not in CGI
by greenFox (Vicar) on Feb 01, 2005 at 02:41 UTC | |
|
Re: my program will run on my computer but not in CGI
by legato (Monk) on Feb 01, 2005 at 02:37 UTC | |
|
Re: my program will run on my computer but not in CGI
by Popcorn Dave (Abbot) on Feb 01, 2005 at 04:29 UTC | |
|
Re: my program will run on my computer but not in CGI
by fauria (Deacon) on Feb 01, 2005 at 02:44 UTC | |
|
Re: my program will run on my computer but not in CGI
by cog (Parson) on Feb 01, 2005 at 08:34 UTC | |
|
Re: my program will run on my computer but not in CGI
by Anonymous Monk on Feb 02, 2005 at 00:25 UTC |