>Also, get rid of the duplicate package name:
>
>   BEGIN { $VERSION = '1.23' }
>   ...
>   use Inline C => 'DATA',
>              VERSION => $VERSION,
>              NAME => __PACKAGE__;

Yes, you would think so, and I had tried that.  __PACKAGE__ works, but
$VERSION does not.

$ perl Makefile.PL

Invalid version 'undef' for Math::Simple.
Must be of the form '#.##'. (For instance '1.23')

-Wilson

Reply via email to