Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Move data into AoH

by vitoco (Hermit)
on Sep 26, 2013 at 13:39 UTC ( [id://1055832]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    +------+-----------+--------------------+
    | id   | title     | comments           |
    ...
    +------+-----------+--------------------+
    | 7388 | Star Wars | "I'm your father!" |
    +------+-----------+--------------------+
    
  2. or download this
    [{"id":2911,"title":"Rush Hour","comments":"Fun :-)"}
    ,{"id":3217,"title":"Titanic","comments":"Drama, too long"}
    ,{"id":6518,"title":"Bambi"}
    ,{"id":7388,"title":"Star Wars","comments":"\"I'm your father!\""}
    ]
    
  3. or download this
    use JSON;
    use Data::Dumper;
    ...
    print Dumper $data;
    __DATA__
    [{"id":2911,"title":"Rush Hour","comments":"Fun :-)"},{"id":3217,"titl
    +e":"Titanic","comments":"Drama, too long"},{"id":6518,"title":"Bambi"
    +},{"id":7388,"title":"Star Wars","comments":"\"I'm your father!\""}]
    
  4. or download this
    $VAR1 = [
              {
    ...
                'comments' => '"I\'m your father!"'
              }
            ];
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-23 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found