I'm tring to wrap my feeble brain around some of the object stuff in general.

I'm still working on it and have decided to go back to the beginning and read lots of really fine manuals before I dive into more. But I have one kind of basic question I'm trying to answer.

I started with Mail::IMAPClient as my base. This requires a argument list of the form:
%args = { Server => 'mail.somewhere.tld',
          User   => 'rosco',
          Password => 'secret' };
to connect to the server.

in my object (call it Foo) I was calling Foo->new(%args) with the new() sub in my Foo object something like this:

my $class = shift;
my $self = {};
bless $class, $self;
$self->Super::new(%args);
return $self

the object isa Foo and isa Mail::IMAPClient according to Test::More
but there is no such thing as a connection and most of the methods of Mail::IMAPClient are not really available when called as Foo->.

So I missed something.  Hopefully simple.

--
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