On Nov 8, 2004, at 8:51 AM, Wilson Snyder wrote:

I'm trying to get rid of the duplicate 1.23 in Simple.pm.

  $VERSION = '1.23';
  ...
  use Inline C => 'DATA',
             VERSION => '1.23',
             NAME => 'Math::Simple';


  BEGIN { $VERSION = '1.23' }
  ...
  use Inline C => 'DATA',
             VERSION => $VERSION,
             NAME => 'Math::Simple';


Also, get rid of the duplicate package name:

  BEGIN { $VERSION = '1.23' }
  ...
  use Inline C => 'DATA',
             VERSION => $VERSION,
             NAME => __PACKAGE__;


-Ken



Reply via email to