my $accounts = Twitter::Objects->accounts; for my $account (@{$accounts}) { ... }