[Module::Build] Re: Cwd::cwd() bug??? on Cygwin
Status: Beta
Brought to you by:
kwilliams
|
From: Nick Ing-S. <nic...@el...> - 2003-11-21 11:02:46
|
Randy W. Sims <Ra...@Th...> 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-----
>>
|