Re: [rt-users] Problem with iterating groups

2007-04-26 Thread Jason Fenner
Stephen Turner wrote: At Thursday 4/26/2007 03:31 PM, Jason Fenner wrote: I am trying to iterate over the names of groups with this code piece: use RT::Groups; my $groups = new RT::Groups($user); $groups->LimitToUserDefinedGroups(); print $groups->Count . "\n"; w

Re: [rt-users] Problem with iterating groups

2007-04-26 Thread Stephen Turner
At Thursday 4/26/2007 03:31 PM, Jason Fenner wrote: I am trying to iterate over the names of groups with this code piece: use RT::Groups; my $groups = new RT::Groups($user); $groups->LimitToUserDefinedGroups(); print $groups->Count . "\n"; while (my $group = $grou

[rt-users] Problem with iterating groups

2007-04-26 Thread Jason Fenner
I am trying to iterate over the names of groups with this code piece: use RT::Groups; my $groups = new RT::Groups($user); $groups->LimitToUserDefinedGroups(); print $groups->Count . "\n"; while (my $group = $groups->Next) { #print $group->Id ." is a grou