in reply to Re: load a module or another: Dumper or dd
in thread load a module or another: Dumper or dd

Thanks stevieb,

I was sure I answered yesterday night: the sense was: thanks this works as a charm! Sometimes my perl is not so DoWhatDiscipulsMeans ;)

Reviewing your code during daylight I suppsosed Module::Load it is not necessary: $dd_loaded = eval { require Data::Dump; Data::Dump->import(); 1; };

But did you noticed your output when Data::Dump is loaded succesfully?

"Data/Dumper.pm"       => "/home/spek/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/x86_64-linux/Data/Dumper.pm",

It is loaded anyway! The opposite is not true..

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.