On Nov 9, 2004, at 2:28 PM, 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.

You did see the BEGIN{...}, right?

This does work, I do it myself.

 -Ken



Reply via email to