in reply to Re: Re: Package-Level Variables
in thread Package-Level Variables
Two, you wouldn't use Foo; inside Foo.pm. This Rosetta line is the statement which establishes the namespace for the subsequent implementation code. (Hence the comment following which shows what the header file implies.) In C++, both the user and the implementor of a class typically include the header file; in Perl, only the user would 'use' the file as if declaring the intent to call upon its interface.
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Package-Level Variables
by sauoq (Abbot) on Jul 26, 2003 at 00:32 UTC | |
|
Re: Re: Re: Re: Package-Level Variables
by tachyon (Chancellor) on Jul 26, 2003 at 07:01 UTC |