[corrected top-posting]
On Sep 29, Frederic Trudeau said:
>From: "nkuipers" <[EMAIL PROTECTED]>
>
>> @mailboxes is an array of array references. You have to dereference
>> every element before printing it.
>>
>You are speaking another language =)
>Could you please be more specific, or better, include an example ?
Check the Cyrus::IMAP::Admin module for instructions. The list() method
returns a list of array references. Therefore, to get at the data IN
them, you must dereference them:
for ($client->list('*')) {
my @data = @$_; # @{ ... } dereferences an array ref
print "@data\n";
}
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
[ I'm looking for programming work. If you like my work, let me know. ]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]