[I tried sending this one a couple of weeks ago, but it bounced twice.
I wonder whether it's back now? Maybe I should investigate why it
bounced... it looked like a VA mailhost problem]

On Mon, Mar 26, 2001 at 10:49:40AM +0200, Christian Lemburg wrote:
> From: "Kevin Connor" <[EMAIL PROTECTED]>

> > I'm using a 5.005 version so I made the change from "use base" to the
> > old "use x; use vars (@ISA); @ISA = qw(x); on all the files.  

Another solution, can the makefile figure out from the version number
of base.pm whether you're running on a broken system or not, and apply

  find blib -name '*.pm' | \
  xargs perl -i -pe 's{^\s*use\s+base\s+(.+)} \
  {use $1 use vars (\@ISA); \@ISA = $1} .. 0'

to fix the problem? (I, um, changed it after I tested it...)

It will cause odd things to happen if you build the thing into a
package and then install that on an old RedHat, but we can burn that
bridge when we've crossed it.


Matthew  #8-)

_______________________________________________
Perlunit-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/perlunit-devel

Reply via email to