>>>>> On Sat, 17 Nov 2007 02:10:40 -0800, Eric Wilhelm <[EMAIL PROTECTED]> said:

  > # from Andreas J. Koenig
  > # on Saturday 17 November 2007 01:54:

 >> A different and slightly less brute fix would probably be to say
 >> version::->new() like I do on all package names always everywhere
 >> because it's the only safe way to call a method on a package name that
 >> has no colons in it.

  > Well, or any package whatsoever.

  >   $ perl -e 'use strict; use warnings; sub foo::bar () {"this"}; 
  >     foo::bar->new'
  >   Can't locate object method "new" via package "this"

Thanks::for::the::correction::)

-- 
andreas

Reply via email to