Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 exploiting the Monastery: (6)
As of 2024-06-16 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.