Xavier Noria wrote:
On Jul 19, 2005, at 12:12, Tom Allison wrote:

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' };


The new() constructor receives a hash, which is initialized using parens, not curly braces:

%args = ( Server => 'mail.somewhere.tld',
          User   => 'rosco',
          Password => 'secret' );

-- fxn


Sorry, I was pulling that from memory.
From the code I was playing with (I don't have it in front of me) it ran OK, but I'm wondering if I was missing something kind of obvious.

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