>>>>> "Bee" == Bee  <[EMAIL PROTECTED]> writes:

Bee> use test::Foo;

Please name your packages with an initial cap.  Lowercase
are reserved for pragmas.

Bee>   return bless $self;

You're still needlessly avoiding the two-arg bless, which means your
constructors cannot be inherited.

Bee> PS.  I have no idea why I do this or what's the purpose, it just a test
Bee> for learning purpose. It's just my very first step into OOPerl... 

Have you read "perldoc perlboot"?  If you want more than that,
get "Learning Perl Objects References and Modules".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

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


Reply via email to