Skip to Content.
Sympa Menu

en - [sympa-users] programattically obtain array of lists in a family

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: christopher pax <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-users] programattically obtain array of lists in a family
  • Date: Mon, 13 Apr 2009 13:17:22 -0400

I have been trying to use Family.pm to programattically obtain an array of all lists in a given family.

so, in perl i did this:

#!/usr/bin/perl

require 'Family.pm';

$njitprod = &Family::new("production", "njit.edu");
@all = Family::get_family_lists($njitprod);

foreach (@all){
        print $_."\n";
}


where "production" is the name of the family.

But it does not seam to do anything.







Archive powered by MHonArc 2.6.19+.

Top of Page