[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] extracting info in perl from cyrus imap



On Tue, Aug 12, 2003 at 06:54:36PM +0100, Rob Keeling wrote:
> Firstly thanks to Matthew and Dave for the responses.
> 
> From: "Matthew Collins" <matthew [at] janes.demon.co.uk>
> >
> > That's because list returns a list of arrays containing the mailbox
> > name, attributes and the separator. So, you'll have to just print the
> > first element of the array out.
> 
> How do I do that, I seem to have tried most permutations. You may have
> guessed that I am not a perl programmer!

Heh. Whoops.

print "$mbox[0]\n";

(or 1, or 2 etc)

Note, if this dosn't work then I don't know. I've not used the Cyrus
perl stuff before.

-- 
Sex dumps core
(Sex is a Simple editor for X11)
	-- Seen on debian bugtracking
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.