in reply to Re: renaming a package
in thread renaming a package

my orignal post shows that I tried
our $VERSION = $Log::Writer::VERSION;
and although it works, MakeMaker doesn't like it. (see the error ^^^ that running perl Makefile.PL spews out when this line of code is in MWLOG.pm)

do you know of anyway to get around that?

Replies are listed 'Best First'.
Re: Re: Re: renaming a package
by ysth (Canon) on Apr 30, 2004 at 21:46 UTC
    Yes, put the use Log::Writer on the same line as I showed. MakeMaker extracts a single line from the file and eval's it; without the "use" on the same line, $Log::Writer::VERSION will be undefined (because MakeMaker won't have use'd it).
      you're a saint!
      thanks much.