in reply to I need to pass a URL from a java script to a PERL script
Your Perl script (running on the web-server) will simply receive whatever your Javascript script cares to send it. All you have to do is to make sure that Javascript sends what Perl expects to receive (or vice versa of course). The standard to pass this info along is the CGI-standard which is fully (computer) language agnostic.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|