stuffy has asked for the wisdom of the Perl Monks concerning the following question:
I would include the rest of the code.....but I'm not a very good programmer, and It would get hacked to heck. Plus it is related to my work....gotta love those "created at work" clauses.print "Content-type:test/html\n\n"; print "<HTML>\n"; print "<BODY>\n"; while (<INPUTFILE>) { if (/^(.*?)$tool_number(.*)$/{ ($continue) =1; } if (/^(.*?)$end_tool(.*)$/ { ($continue) = 0; } if ($continue ==1){ print "some stuff\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI Trying to save file to computer rather then display it in browser
by olly (Scribe) on Apr 29, 2001 at 13:43 UTC | |
by virtualsue (Vicar) on Apr 29, 2001 at 14:26 UTC | |
by Trimbach (Curate) on Apr 29, 2001 at 18:40 UTC | |
by virtualsue (Vicar) on Apr 29, 2001 at 22:15 UTC | |
by stuffy (Monk) on Apr 29, 2001 at 14:16 UTC | |
|
Re: CGI Trying to save file to computer rather then display it in browser
by eejack (Hermit) on Apr 30, 2001 at 03:35 UTC |