home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_9dc63773ebc9288cb684cdeb3be66e80
< prev
next >
Wrap
Text File
|
2000-03-24
|
470b
|
23 lines
# NOTE: Derived from ..\..\lib\POSIX.pm.
# Changes made here will be lost when autosplit again.
# See AutoSplit.pm.
package POSIX;
#line 658 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto/POSIX/getcwd.al)"
sub getcwd
{
usage "getcwd()" if @_ != 0;
if ($^O eq 'MSWin32') {
# this perhaps applies to everyone else also?
require Cwd;
$cwd = &Cwd::cwd;
}
else {
chop($cwd = `pwd`);
}
$cwd;
}
# end of POSIX::getcwd
1;