On Jul 30, 1:06 pm, [EMAIL PROTECTED] (Inventor) wrote:
> Also, I know how to name a module, but how do I create the hierarchy
> with the :: characters?  I don't want to have a filename with :: in
> it, so I figure there must be some inheritance thing involved, but I
> haven't run across it in my readings.

You need to read:
perldoc perlmod
and
perldoc perlnewmod

before you start doing anything else.  Perl module naming has nothing
whatsoever to do with inheritance.

A module named Foo::Bar::Baz ....
1) is in the package Foo::Bar::Baz
2) is in the file Foo/Bar/Baz.pm

It has NOTHING to do with the module or package Foo, nor with the
module or package Foo::Bar.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to