http://qs1969.pair.com?node_id=782074

northwestdev has asked for the wisdom of the Perl Monks concerning the following question:

Disclaimer: Perl newbie here. I am trying to parse a Twitter response, using the Net::Twitter module. Given that the foreach loop code was taken from the Net::Twitter docs, I expected to see output, instead, I get nothing. Code:
my $nt = Net::Twitter->new( traits => [qw/API::REST/], username => $usename, password => $pwd ); my $results = $nt->show_user($twitterID); foreach my $user (@{ $results }) { my $id = $user->{id}; my $name = $user->{name}; print STDOUT $id." ".$name."<br>"; }