Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 pondering the Monastery: (6)
As of 2014-09-21 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (171 votes), past polls