Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 the sunlight beams...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2017-11-24 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (345 votes). Check out past polls.

    Notices?