Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Bug in YAML::Any - What to do?

by bv (Friar)
on Dec 14, 2009 at 22:51 UTC ( [id://812779]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub Dump {
        no strict 'refs';
        my $implementation = __PACKAGE__->implementation;
    ...
        print STDERR "FINAL: $debug = $$debug\n";
        return &{"$implementation\::Dump"}(@_);
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    YAML::XS::UseCode = 
    FINAL: YAML::XS::UseCode = 
    --- !!perl/code '{ "DUMMY" }'
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    use YAML::Any;
    ...
    local ${YAML::Any->implementation()."::UseCode"}=1;
    # can't use strict before this because of refs
    use strict;
    
  4. or download this
    @_=qw;
    Just another Perl hacker,;
    ;$_=q=print
    "@_"= and eval;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-03-28 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found