On Tue, Nov 09, 2004 at 03:28:44PM -0500, Wilson Snyder wrote:
>
> >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')
Try
BEGIN {
$VERSION = '1.23';
};
--
Bring me my etherkiller; Oh clouds unfold! / Bring me the magic smoke of desire
I shall not cease from mental fight / Nor shall my LART rest in my hand
Till we have buried the bodies / Of all the lusers in all this land
-- rpg, ASR [ My homepage is http://www.trout.me.uk/ ]