On Tuesday 31 January 2006 08:35 am, JupiterHost.Net wrote: > If it looks like Perl 4 and works like Perl 4 its prolly from Perl 4 > (pronounced "at least needs to be checked since it may indicate the > problem") > > new Whatever; > > will work but its highly recommended for various reason to do > Whatever->new() so when I see new Whatever: > > a) the code is old old old > b) the author used an old example without knowing its better to do > Whatever->new()
Can someone point me at docs as to why that's better? I've seen both used and didn't know one was considered better than the other. -- "And what are you?" "Alive. Everything else is negotiable." - Sheridan and Franklin, Babylon 5