Re: Return available address book fields

2008-11-29 Thread John J. Foster
OK - let's try the script this time! http://bsdconsulting.no/tools/mutt-ldap.pl On Sat, Nov 29, 2008 at 09:32:32AM -0700, John J. Foster wrote: > Hi again, > > Is it possible to modify the following script to return a list of > available fields? I'm trying to query my addr

Return available address book fields

2008-11-29 Thread John J. Foster
Hi again, Is it possible to modify the following script to return a list of available fields? I'm trying to query my address at fastmail.fm and would like to display as much info as possible. Thanks in advance, festus -- I just want to break even. -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: simple sort howto

2008-11-28 Thread John J. Foster
On Fri, Nov 28, 2008 at 10:21:03PM -0500, Chas. Owens wrote: > It looks like you need a schwartzian transform* on the results of > $mesg->all_entries: > > #replaces "foreach my $entry ($mesg->all_entries) {" > my @entries = > map { $_->[0] } > sort { $a->[1

simple sort howto

2008-11-28 Thread John J. Foster
Hi all, I'm using a little perl script (http://bsdconsulting.no/tools/mutt-ldap.pl) to query addresses from within mutt. I'd like this script to return a sorted list, either by email address or name. The little research I've done points to changes in this section: foreach my $entry ($mesg->all_en