in reply to load a module or another: Dumper or dd
I'd say slightly Byzantine. I would use Data::Dumper for public modules. But there is Module::Load::Conditional which is in core, and also:
eval { require Data::Dump; 1} or require Data::Dumper;
Hope this helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: load a module or another: Dumper or dd
by tobyink (Canon) on Jan 10, 2019 at 09:44 UTC | |
|
Re^2: load a module or another: Dumper or dd
by Discipulus (Canon) on Jan 09, 2019 at 22:42 UTC | |
by 1nickt (Canon) on Jan 10, 2019 at 05:31 UTC |