How do I use google API within perl CGI script?
Posted
by stephenmm
on Stack Overflow
See other posts from Stack Overflow
or by stephenmm
Published on 2010-06-11T21:52:50Z
Indexed on
2010/06/11
22:52 UTC
Read the original article
Hit count: 213
The google API example shows that you should have the javascript within the head tag but I am using perl module CGI and in there they suggest that you use "print header;" instead of writting out your headers explicitly.
So if I want to use the perl CGI module and the google API javascript what is the correct way to do this?
I tried writing out the header explicitly but It seemed like the perl module really wanted me to use the header method. It seems like this would be a common use case but I looked around the web for some examples of this and I could not find one. Any help would be appreciated.
© Stack Overflow or respective owner