Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 cooling their heels in the Monastery: (8)
As of 2014-12-23 04:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (135 votes), past polls