in reply to Simple Perl Question: Printing the Return Value of a Function

There is no one answer, as the output can be anything from scalar reference to a hash reference. But a good way to start the "detective work" is
use Data::Dumper; my $return = $object->function_call(); print "$return\n"; # will tell you what the ref type is print Dumper( [ \$return ] ), "\n";
Now there can be some glitches. If the function call returns an array, and you try to catch it in $return, you may only get the first array element. But that is what the perldocs are for. They tell you what the methods return.

I'm not really a human, but I play one on earth. flash japh