Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: What's the best way to use Any YAML (not YAML::Any)

by djerius (Beadle)
on Mar 15, 2014 at 16:00 UTC ( [id://1078456]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    eval { $yaml_class->import( 'Dump'); 1; }
      or croak( "Can't find Dump in $yaml_class\n" );
    
  2. or download this
    Package::Stash->new( $yaml_class )->has_symbol( '&Dump' )
      or croak( "Can't find Dump in $yaml_class\n" );
    
  3. or download this
    my $Dump = $yaml_class . "::Dump";
    [... later in the code ...]
    my $var = eval { &$Dump(...) } or croak( "bad return or Dump not imple
    +mented\n" );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found