Andreas J. Koenig wrote:
On Mon, 11 Nov 2002 12:22:41 +0800, Stas Bekman <[EMAIL PROTECTED]> said:

  > In any case. Any reason why the parse_version isn't using eval and
  > avoiding fatal errors? If it fails to get the version, just move on,
  > don't screw the output of CPAN.pm in this particular case. I suppose
  > at least CPAN.pm could wrap this call in eval().

From MM_Unix.pm:
	warn "Could not eval '$eval' in $parsefile: $@" if $@;

Did you mean the opposite of what you actually wrote?
Ah, right, it says:

Could not eval '
package ExtUtils::MakeMaker::_version;
no strict;

local $File::Spec::VERSION;
$File::Spec::VERSION=undef; do {
unless ($File::Spec::VERSION >= $min_version) {
}; $File::Spec::VERSION
' in /home/stas/perl/ithread/lib/site_perl/5.8.0/DocSet/5005compat.pm: Missing right curly or square bracket at (eval 837) line 10, at end of line
syntax error at (eval 837) line 10, at EOF

which I called a fatal error, sorry.

what I was suggesting is not to print the warning in CPAN.pm, but as you say it's coming from MM_Unix, so there not much we can do.


__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@;stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to