note
GrandFather
<p>I see no such example code and the Data::Dumper output you show elsewhere is inconsistent with the loop. The dump shows a hash where the loop expects an array.</p>
<p>Furthermore your assertion that <i>"I expected to see output, instead, I get nothing"</i> is inconsistent with the combination of dump and the for loop syntax. The for loop is expecting an array reference and is getting a hash reference - is should complain "Not an ARRAY reference at ...".</p>
<p>The following probably gets the data you want (untried):</p>
<c>
my $results = $nt->show_user($twitterID);
my $id = $results->{id};
my $name = $results->{name};
print STDOUT $id." ".$name."<br>";
</c>
<div class="pmsig"><div class="pmsig-461912">
<hr>True laziness is hard work
</div></div>
782074
782074