This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |