R. Joseph Newton wrote:
> Rob Dixon wrote:
>
> > > When I run perl -c on this, I get the following messages:
> > > Subroutine new redefined at Train.pm line 106.
>
> This can be easily corrected:
> my $motto = "Where no one has gone before!";
> ..and still avoid having that pointless damn number at the end of the
> module.

You're right. I'm surprised you don't get a 'Name used only once' warning
but it seems to work. Perhaps the warning applies only to globals.

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to