This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Cwd::cwd() bug??? on Cygwin
- From: Nick Ing-Simmons <nick dot ing-simmons at elixent dot com>
- To: RandyS at ThePierianSpring dot org
- Cc: cygwin at cygwin dot com, perl5-porters at perl dot org, module-build-general at lists dot sourceforge dot net
- Date: Fri, 21 Nov 2003 11:03:34 +0000
- Subject: Re: Cwd::cwd() bug??? on Cygwin
- 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> <3FB64CB5.4060802@ThePierianSpring.org> <3FBD695A.9020307@ThePierianSpring.org>
- Reply-to: Nick Ing-Simmons <nick dot ing-simmons at elixent dot com>
Randy W. Sims <RandyS@ThePierianSpring.org> writes:
>>
>> sub cwd {
>> require Cwd;
>> Cwd::cwd;
If you made that
Cwd::cwd();
it would work.
>> }
>>
>> 1;
>> -----><8-----
>>
>> -----><8-----
>> # test.pl
>> package MyModule;
>> use Module;
>> use base 'Module';
>> use Cwd;
If you moved that above the use Module line then when Module.pm
was compiled it would know Cwd::cwd was a function.
>>
>> package main;
>> MyModule->new;
>> -----><8-----
>>
--
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/