[OT] Re: Modules question





jjd wrote:
This is kind of off-topic, but I figured someone here would know the
answer:
I set up a directory structure:

SomeModule/
   Collect.pm
   Display.pm

create a SomeModule.pm, using the other two.

How do I set my modules up so I can do a 'use SomeModule' instead of
having to do 'use SomeModule::Collect', 'use SomeModule::Display', etc?

Jim


_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

--
Alberto Simões

Much as I hate to say it, the Computer Science view of language design
has gotten too inbred in recent years. The Computer Scientists should
pay more attention to the Linguists, who have a much better handle on
how people prefer to communicate.
            --Larry Wall



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]