Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Variable Substitution within NameSpace

by yellow_tree_frog (Initiate)
on Aug 04, 2004 at 17:43 UTC ( [id://380056]=note: print w/replies, xml ) Need Help??


in reply to Re: Variable Substitution within NameSpace
in thread Variable Substitution within NameSpace

i should have specified i'm working on Windows 2000.
ccn's solution below worked:
print eval "\$R::$xx";
but the soln by SUNADM below only printed ::custtype. Maybe this would have worked on a Unix based OS.

print "$R" . "::" . "$xx\n";

I will though take the advice of avoiding using symbolic references in this manner and instead will use the CGI param method.
Thanks for all the help. ytf

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2024-04-24 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found