Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: load a module or another: Dumper or dd

by haukex (Archbishop)
on Jan 10, 2019 at 09:46 UTC ( [id://1228300]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub pp {
        die "bad number of args to pp" unless @_==1;
        return Data::Dumper->new([shift])->Terse(1)->Purity(1)->Useqq(1)
            ->Quotekeys(0)->Sortkeys(1)->Indent(0)->Pair('=>')->Dump;
    }
    
  2. or download this
    BEGIN {
        if ( eval { require Data::Dump; 1 } )
    ...
                ->Useqq(1)->Quotekeys(0)->Sortkeys(1)->Dump };
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-18 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found