in reply to Modulino trick for cgi scripts

perl -e'use lib qw( . ); do "something.cgi"; something->run()'

But in this case, the following will do:

perl -I. something.cgi

Update: Added missing something->run().

Replies are listed 'Best First'.
Re^2: Modulino trick for cgi scripts
by skazat (Chaplain) on Sep 21, 2008 at 09:39 UTC
    That did it!