[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] Problem with my First Module



On Fri, Sep 29, 2000 at 09:08:15PM +0200, Bart Lateur wrote:
> On Fri, 29 Sep 2000 10:58:04 -0400, Ronald J Kimball wrote:
> 
> >On Fri, Sep 29, 2000 at 07:49:15AM -0700, ehughes wrote:
> 
> >> Um, where did the 1 at the end of IT come from?
> 
> >You probably want to change the name of the print_me() method and have it
> >return a string.
> 
> Or, simply call
> 
> 	$staff->print_me;
> 
> which does the actual printing.

Yes, but that would not be good design, because the main script may need to
have control over the output.

Ronald

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org