igotux igotux wrote:
Hi Team,
Hello,
Can someone explain what is wrong happeneing here ? $ perl -e 'use Business::ISBN; $isbn_object = new Business::ISBN('0-59610-206-2');print $isbn->as_string;' Can't call method "as_string" on an undefined value at -e line 1.
Change: print $isbn->as_string; To: print $isbn_object->as_string; John -- Those people who think they know everything are a great annoyance to those of us who do. -- Isaac Asimov -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/