Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Javascript and Perl... a match never made.

by dree (Monsignor)
on Jul 20, 2002 at 08:39 UTC ( #183573=note: print w/replies, xml ) Need Help??


in reply to Javascript and Perl... a match never made.

Hello!

gryphon says right but you can try also this old CGI trick:

put a string after the real script name to cheat the server. In this way the name of the script will be the string.

For example: http://mysite.com/cgi-bin/jserver.cgi/myjs.js?some_GET_stuff_here=...

So for the browser, the name of the script will be myjs.js

Also, pay attention with the header: you wrote 3 \n, 2 are enough, and you need a space after the ":" .You can write text/plain:
print "Content-type: text/plain\n\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://183573]
help
Chatterbox?
[marioroy]: Corion Regarding PID, that's great. So will leave it so compatible with MCE::Hobo. e.g. ->create returns a Hobo object. Folks can get ->pid from it. So, that's not a problem.
[choroba]: ad readdir: 5.12 needed
[marioroy]: CORE::wait can block if another process reaps a worker from another class. MCE::Hobo takes care of that and transparently.
[Discipulus]: thanks choroba i'll update my answer
[Lady_Aleena]: Hello Discipulus, Corion, choroba, and marioroy...
[Corion]: Hi Lady_Aleena!
[Lady_Aleena]: marioroy, are you also writing a Meditation for this?
choroba o/
Discipulus adds tozzetti alle mandorle to the platter on the sideboard.
Lady_Aleena was checking #cbstream and saw the big announcement.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2017-05-26 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?