in reply to modules as variables

To 'use' a module provided as argument on the commandline, you have to wrap it into a string eval:
#!/usr/bin/perl use strict; use warnings; BEGIN { eval "use $ARGV[0]"; die $@ if $@; shift; # take first arg out of @ARGV }
because saying use $var with $var holding a package name is not possible.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}