Connie Chan wrote:
> Thanks everybody, I've learn quite a lot in this lesson again.
> Anyway, I still not up the OO level in Perl, so, quite sort of
> information here I still need sometime to digest.
>
> Here is something I've simply test, but not confirm they are
> right or not.
>
> When I pi
Thanks everybody, I've learn quite a lot in this lesson again.
Anyway, I still not up the OO level in Perl, so, quite sort of
information here I still need sometime to digest.
Here is something I've simply test, but not confirm they are
right or not.
When I pick up an exported vars from a pac
Connie Chan wrote at Tue, 27 Aug 2002 00:40:26 +0200:
> package A;
> use strict;
> require Exporter;
> our @ISA = qw (Exporter); # What this actually for ?!
> our @EXPORT = qw (%hash);
> our %hash ;
>
> ...
> My question is, will perl re- assign the hash whenever
> a 'use package A' declared ?
On Monday, August 26, 2002, at 03:40 , Connie Chan wrote:
> package A;
> use strict;
> require Exporter;
> our @ISA = qw (Exporter); # What this actually for ?!
One way to think of this as a way of stopping the questions
about 'isa' - cf
perldoc UNIVERSAL
In this case it is an Exporter
Connie Chan wrote:
> In package A, I did sth like this :
>
> package A;
> use strict;
> require Exporter;
> our @ISA = qw (Exporter); # What this actually for ?!
Exporter provides an easy way for you to make your module's variables and
functions available for another package to use. the:
our