Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: problematic OO

by umbra (Acolyte)
on Aug 03, 2005 at 10:42 UTC ( #480429=note: print w/ replies, xml ) Need Help??


in reply to problematic OO

I'm not OO Perl guru but in constructor (new sub) You declared $self as hashref but seems to me that You never initialize referred hash. All items like $self->{SUBJECT} or $self->{SUBJECT} are always undefined because You never assign something to them.

Then when calling You should do

PL::Mail->new();


Comment on Re: problematic OO
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://480429]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-07-04 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls