Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Safer monkey-patching

by tobyink (Abbot)
on Jan 18, 2012 at 22:51 UTC ( #948643=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Data::Dumper::Extensions;
    use Data::Dumper;
    sub Data::Dumper::print_r {
      print Dumper(@_);
    }
    
  2. or download this
    package My::AwesomeError;
    
    ...
      my $self = @_;
      die "BANG! ".$self->as_string;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://948643]
Approved by ww
Front-paged by ww
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2018-02-19 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (257 votes). Check out past polls.

    Notices?