Hello John, thank you for your answer.
Am 2008-06-02 17:34:30, schrieb John W. Krahn: > According to the documentation for that module: > > list > my $message_size = $imap->list($message_number); > my $mailbox_sizes = $imap->list; > > This method returns size information for a message, as indicated > in the single optional parameter, or all messages in a mailbox. > When querying a single message a scalar value is returned. When > listing the entire mailbox a hash is returned. On failure, > "undef" is returned. > > > So if you use list() with no message number supplied it will return a > *reference* to a hash that contains the message numbers as the keys and > the corresponding message sizes as the values. Since I am begining to learn Perl, how do I get the Value from the hash? Note: I have no internet @home which mean, I have only the perldoc documentation and not more and I have not found the thing about hashes. Thanks, Greetings and nice Day Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature