Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Factory classes in Perl

by davido (Cardinal)
on Jan 08, 2021 at 23:33 UTC ( [id://11126639]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    my $json = '{"foo":"bar", "biff":["baz","buzz"]}';
    
    print "\nData structure parsed from JSON:\n", Dumper(decode_json($json
    +));
    
  2. or download this
    Using JSON module 'JSON::XS'.
    
    ...
                          'buzz'
                        ]
            };
    
  3. or download this
    Using JSON module 'JSON::PP'.
    
  4. or download this
    Using JSON module 'JSON::Tiny'.
    

Log In?
Username:
Password:

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

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

    No recent polls found