Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 Cc: cygwin AT cygwin DOT com, perl5-porters AT perl DOT org, module-build-general AT lists DOT sourceforge DOT net Subject: Re: Cwd::cwd() bug??? on Cygwin In-Reply-To: <3FBD695A.9020307@ThePierianSpring.org> from Randy W. Sims on Thu, 20 Nov 2003 20:24:42 -0500 References: <3FAF853D DOT 4000202 AT urth DOT org> <3FB00F47 DOT 10400 AT ThePierianSpring DOT org> < 3FB0ACC8 DOT 6030402 AT urth DOT org> <3FB30BB3 DOT 10405 AT ThePierianSpring DOT org> < 3FB50640 DOT 2010908 AT urth DOT org> <3FB55A73 DOT 5060806 AT ThePierianSpring DOT org> < 3FB64CB5 DOT 4060802 AT ThePierianSpring DOT org> <3FBD695A DOT 9020307 AT ThePierianSpring .org> Content-Type: text/plain; charset="UTF-8" To: RandyS AT ThePierianSpring DOT org Message-Id: <20031121110334.3098.7@llama.elixent.com> Date: Fri, 21 Nov 2003 11:03:34 +0000 From: Nick Ing-Simmons Reply-To: Nick Ing-Simmons Randy W. Sims 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/