in reply to Re: Can't locate object method
in thread Can't locate object method
Another exaple of bizarreness that I came across was this:
When using a dual purpose new (as in it works on classes and objects) the above wont raise an error and you may find yourself wondering why 'parameter' hasnt been passed to the returned object.my $obj=new Foo::Bar->new('parameter');
Of course your example is more likeyly to happen.... Alas. :-)
Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.
|
|---|