in reply to
how to use packages as classes in perl?
Note that you are accessing
$bar
in package
Foo
. But as pointed out,
my $bar
creates a
lexical
variable - one that isn't in any package.
Comment on
Re: how to use packages as classes in perl?
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: how to use packages as classes in perl?
by
The Elite Noob
(Sexton)
on Apr 07, 2011 at 18:07 UTC
Ahh,, this explanation makes alot of sense! thank you!
[reply]
In Section
Seekers of Perl Wisdom