This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
[Fwd: Re: [Module::Build] Alzabo / Module::Build Cygwin installationproblem]
- From: "Randy W. Sims" <RandyS at ThePierianSpring dot org>
- To: cygwin at cygwin dot com
- Date: Sat, 15 Nov 2003 11:04:03 -0500
- Subject: [Fwd: Re: [Module::Build] Alzabo / Module::Build Cygwin installationproblem]
On 11/14/2003 5:42 PM, Randy W. Sims wrote:
> There is still a problem to be worked out, but I'm not yet sure where
the problem is. Can you tell post your perl & Cwd version.
>
> Dave, What versions of perl, Cwd, & M::B have you tested Alzabo with?
>
> This problem doesn't seem directly related to Cygwin. It definately
should not be an error to 'use Cwd', so this has to be a problem in
M::B, Cwd, or perl. Right???
>
Ok, this might in fact be a Cygwin problem. Cygwin & Cwd. The following
produces the error "Usage: Cwd::cwd() at Module.pm line 6." under Cygwin
perl 5.8.x, but not under MSWin32 perl 5.6.x & 5.8.x. Also if I change
Cwd to Carp I get no error. Can anyone test to make sure this does not
produce errors on any other systems?
Thanks,
Randy.
-----><8-----
# Module.pm
package Module;
sub new {
my $p = shift;
$p->cwd;
}
sub cwd {
require Cwd;
Cwd::cwd;
}
1;
-----><8-----
-----><8-----
# test.pl
package MyModule;
use Module;
use base 'Module';
use Cwd;
package main;
MyModule->new;
-----><8-----
--- Begin Message ---
- From: "Randy W. Sims" <RandyS at ThePierianSpring dot org>
- To: module-build-general at lists dot sourceforge dot net
- Cc: perl5-porters at perl dot org, alzabo-general at lists dot sourceforge dot net, autarch at urth dot org
- Date: Sat, 15 Nov 2003 10:56:37 -0500
- Subject: Re: [Module::Build] Alzabo / Module::Build Cygwin installation problem
- References: <3FAF853D.4000202@urth.org> <3FB00F47.10400@ThePierianSpring.org> <3FB0ACC8.6030402@urth.org> <3FB30BB3.10405@ThePierianSpring.org> <3FB50640.2010908@urth.org> <3FB55A73.5060806@ThePierianSpring.org>
On 11/14/2003 5:42 PM, Randy W. Sims wrote:
There is still a problem to be worked out, but I'm not yet sure where
the problem is. Can you tell post your perl & Cwd version.
Dave, What versions of perl, Cwd, & M::B have you tested Alzabo with?
This problem doesn't seem directly related to Cygwin. It definately
should not be an error to 'use Cwd', so this has to be a problem in
M::B, Cwd, or perl. Right???
Ok, this might in fact be a Cygwin problem. Cygwin & Cwd. The following
produces the error "Usage: Cwd::cwd() at Module.pm line 6." under Cygwin
perl 5.8.x, but not under MSWin32 perl 5.6.x & 5.8.x. Also if I change
Cwd to Carp I get no error. Can anyone test to make sure this does not
produce errors on any other systems?
Thanks,
Randy.
-----><8-----
# Module.pm
package Module;
sub new {
my $p = shift;
$p->cwd;
}
sub cwd {
require Cwd;
Cwd::cwd;
}
1;
-----><8-----
-----><8-----
# test.pl
package MyModule;
use Module;
use base 'Module';
use Cwd;
package main;
MyModule->new;
-----><8-----
--- End Message ---
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/