in reply to Re: How to use a bunch of uses with just one use?
in thread How to use a bunch of uses with just one use?

Toolkit is a source filter, so the usual caveats apply.

I personally like explicit module mention, too, but I have

package y; use Exporter qw (import ); our @EXPORT = qw ( &foo ); # exported functions my $callpack = ( caller )[0]; eval <<"EOH"; package $callpack; use Data::Dumper; use B::Deparse; # other modules... EOH sub foo { ... } 1;

which allows me to

#!/usr/bin/Perl use strict; use warnings; use y;

or on the command line

qwurx [shmem] ~> perl -My -nle 'dwim $_' somefile

having all defaults in place. Pragmas like strict and warnings should always be explicit.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'