RE: javascript within print "<

2001-06-14 Thread Tillema, Glenn
> 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

RE: javascript within print "<

2001-06-13 Thread Curtis Poe
--- 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

RE: javascript within print "<

2001-06-13 Thread Curtis Poe
--- "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 ... :)

RE: javascript within print "<

2001-06-13 Thread Tillema, Glenn
> 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 >

Re: javascript within print "<

2001-06-13 Thread Vinicius Jose Latorre
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

RE: javascript within print "<

2001-06-12 Thread Curtis Poe
--- "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

Re: javascript within print "<

2001-06-12 Thread Justin Simoni
__________ 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

RE: javascript within print "<

2001-06-12 Thread Tillema, Glenn
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 "< >

Re: javascript within print "<

2001-06-12 Thread Luinrandir Hernson
-- 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 "<

Re: javascript within print "<

2001-06-12 Thread WebMaster AIM-US
(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

Re: javascript within print "<

2001-06-12 Thread Justin Simoni
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 __

javascript within print "<

2001-06-12 Thread charles
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 "<