Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl in HTML

by Corion (Patriarch)
on Apr 15, 2010 at 08:04 UTC ( [id://834840]=note: print w/replies, xml ) Need Help??


in reply to Perl in HTML

I think you are translating PHP to Perl. @_Get and @_Post likely are the parameters passed with the request, so the Perl equivalent would be $cgi->param().

Also, you should use strict; at the top of your program. This forces you to predeclare all variables you need and will prevent you from misspelling variables or using variables that don't exist, like @_Get.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2025-06-22 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.