in reply to Use modules with an import list on the command line

Just a small additional caveat: if you have shell metacharacters that may be expanded, be careful to quote them. Your CGI example may be better as: perl '-MCGI=:standard,*table' -e 'print start_table({-border=>2})'

I admit it's unlikely you'll have a file in your current directory named "-MCGI=" something, but other patterns could be a problem.