> The CGI module is not supposed to export any functions
> without their being explicitly requested.
> Maybe you have a version that someone else hacked? No matter.
I honestly wouldn't know .. all of the functionality seems to be there.
> > > Also, since you are already using CGI.pm, why not
--- Curtis Poe <[EMAIL PROTECTED]> blathered:
> If it's printing out your tags in lower case, you definitely have an issue with
>CGI.pm.
[snip]
Ugh. That should have read "If it's *not* printing out your tags in lower case...".
Cheers,
Curtis Poe
=
Senior Programmer
Onsite! Technology (ht
--- "Tillema, Glenn" <[EMAIL PROTECTED]> wrote:
> > As written, this script won't work. If you call the
> > 'header()' function directly, you need to
> > import this function from CGI. One way to do it is:
> >
> > use CGI qw/:standard/;
>
> It works in the script I copy and pasted from ... :)
> As written, this script won't work. If you call the
> 'header()' function directly, you need to
> import this function from CGI. One way to do it is:
>
> use CGI qw/:standard/;
It works in the script I copy and pasted from ... :)
> Also, since you are already using CGI.pm, why not take
>
WebMaster AIM-US <[EMAIL PROTECTED]> wrote:
> Another option is to put the JavaScript in the text file, and have Perl
> read from that file, and print it directly. This means you can re-use the
> JavaScript code in other similar script without needing to edit each script
> whe
--- "Tillema, Glenn" <[EMAIL PROTECTED]> wrote:
> Here is how I do it;
>
> #!/usr/local/bin/perl -w
> use CGI;
>
> print header();
> print "\n",
> " test script\n";
> print <
>alert('test');
>
> DONE
> print "\n";
As written, this script won't work. If you call the 'header()' fun
__________ Reply Separator
> _
> Subject: javascript within print "< Author: <[EMAIL PROTECTED]> at Internet
> Date:6/12/2001 3:41 PM
>
>
> i have a script that generates html. i would like to put some javascrip
PO Box 1101, MS 508
Minneapolis, MN 55440-1101
Learn about ADC - The Broadband Company - www.adc.com
> - Original Message -
> From: [EMAIL PROTECTED]
> To: CGI Beginners
> Sent: Tuesday, June 12, 2001 4:41 PM
> Subject: javascript within print "<
>
--
From: [EMAIL PROTECTED]
To: CGI Beginners
Sent: Tuesday, June 12, 2001 4:41 PM
Subject: javascript within print "< tags which is being generated, but escaping the
javascript is a nightmare.
does the print "<
(JAVASCRIPT, "javascript.js");
while(){print $_}
close(JAVASCRIPT);
Stephen
__ Reply Separator _
Subject: javascript within print "< at Internet
Date:6/12/2001 3:41 PM
i have a script that generates htm
try something like this:
#!/usr/bin/perl
use CGI qw(:standard);
$javascript = <$javascript);
print p(a({-href=>'javascript:annoy()'}, "Click me to be annoyed"));
--
justin simonihttp://skazat.com
__
i have a script that generates html. i would like to put some javascript
in the tags which is being generated, but escaping the
javascript is a nightmare.
does the print "<
12 matches
Mail list logo