in reply to A Bad Day to OOP :(
You need to turn on warnings as well as strict.
Then you would see that return 1; probably isn't what you want to do. You want 1; all by itself.
Also, maybe you should use Fruit::Apple; and not just use Fruit;
Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A Bad Day to OOP :(
by chromatic (Archbishop) on Apr 11, 2002 at 04:09 UTC |