Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Use dynamic stuff in CGI

by Unforgiven (Hermit)
on Dec 29, 2009 at 14:25 UTC ( #814756=note: print w/replies, xml ) Need Help??


in reply to Use dynamic stuff in CGI

Honestly, I'd just suggest you start by reading a tutorial on CGI, or something like that.

  1. That is not a CGI script, that's plain HTML.
  2. That is not a .js (Javascript) file, that's Perl, except with <p> tags before each line. It appears to be meant to generate your javascript, but then I'd ask why. It's static anyway, right? Then there's no need for it.

Replies are listed 'Best First'.
Re^2: Use dynamic stuff in CGI
by roc (Sexton) on Dec 29, 2009 at 14:39 UTC
    i kept original .js file without any perl codes..even it's not working
Re^2: Use dynamic stuff in CGI
by roc (Sexton) on Dec 30, 2009 at 10:33 UTC
    hi...thanks a lot for your suggetion...it is working fine...
Re^2: Use dynamic stuff in CGI
by roc (Sexton) on Dec 29, 2009 at 14:34 UTC
    i'm sorry for error...there will be no <p> tag

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://814756]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2020-10-26 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (251 votes). Check out past polls.

    Notices?