Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Interpolating variables in JSON string

by muba (Priest)
on Jan 29, 2013 at 13:52 UTC ( #1015876=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $json = quotemeta( {"auth":{"RAX-KSKEY:apiKeyCredentials":{"use
    +rname":$USERNAME, "apiKey":$API_KEY}}} );
    
  2. or download this
        my $json = quotemeta( {"auth" => {"RAX-KSKEY:apiKeyCredentials" =>
    + {"username" => $USERNAME, "apiKey" => $API_KEY}}} );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-10-01 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (8 votes). Check out past polls.