Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Variable Substitution within NameSpace

by matija (Priest)
on Aug 03, 2004 at 17:59 UTC ( #379765=note: print w/replies, xml ) Need Help??


in reply to Variable Substitution within NameSpace

You shouldn't do what you're trying to do. Using variable substitution like that is slow, it's ugly, and it could be actively dangereous.

What you should do instead is use the param method of CGI - like this:

$input=new CGI; print param('custtype')." ".param($xx);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://379765]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2017-03-30 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (353 votes). Check out past polls.