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.

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!