in reply to super CGI?

I have very little trouble coding a "use" for every module I need, and using separate objects. What I have most trouble with is installing modules that didn't come with the standard Perl package

Replies are listed 'Best First'.
Re^2: super CGI?
by stonecolddevin (Parson) on Apr 17, 2006 at 23:58 UTC
    I don't like having
    use Foo; use Bar; use Baz; use Quux; use Foo::Bar; ...

    I'd much rather have
    use Super::Foo; my $super_cgi = Super::Foo->new; ...
    meh.
      In that case, consider writing your own meta CGI::Application module:
      package Dhoss::App; use Foo; use Bar; use Baz; use Quux; use Foo::Bar; use base 'CGI::Application'; 1;
      Then start out every app based on that super class (use base 'Dhoss::App';). Easy peasy.
        that looks simple enough...will i need to incorporate any @EXPORT stuff?
        meh.