Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 studying the Monastery: (3)
As of 2024-06-23 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.