in reply to why isnt it working?
Yikes! You really got that script to work on your computer ? My
perl complains loudly when it reaches the <br><br> part.
Now, if you either removed that line or put it in within a print statement, it would at least compile :-)
If you want your program to "work" as a cgi-script you need at least a content-type header
And it will not work without 'use strict' or '-w' of course *grin*. And then there are all the other possible errors you might make of course...#!/usr/bin/perl -w use strict; print "Content-Type: text/plain\n\n"; my $add = '152'; print $add / 321 + 4 * $add, "\n";
Autark.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: why isnt it working?
by elwarren (Priest) on Nov 19, 2000 at 07:33 UTC | |
Re: Re: why isnt it working?
by john1987 (Acolyte) on Nov 23, 2000 at 21:12 UTC |
In Section
Seekers of Perl Wisdom