On Aug 3, 2006, at 5:54 PM, Elton Hughes wrote:
print "New Client Days: $client->get_days\n";
----------
But my output is this:
[/Users/ehughes/Projects/Perl] # perl t_client.pl
New Client Days: NOVA::Client=HASH(0x1801380)->get_days
I must be a lot brain tired because I am forgetting something. Can
anyone tell me where I went wrong?
Perl is interpolating the value of $client into your string instead
of the value returned by $client->get_days.
Try this instead:
print "New Client Days: ", $client->get_days, "\n";
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net