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

Re^4: Using . in variable name

by bitingduck (Chaplain)
on Apr 17, 2015 at 07:24 UTC ( [id://1123708]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using . in variable name
in thread Using . in variable name

Or a parameter name, e.g. (for the OP):

system("myotherscript $app1.svr=3 $somevar=27");

Replies are listed 'Best First'.
Re^5: Using . in variable name
by choroba (Cardinal) on Apr 17, 2015 at 08:01 UTC
    Double quotes interpolate variables. This would therefore replace $app1 with the contents of the $app1 variable.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-03-28 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found