Is it possible to get Current Working Directory in miniperl (NOT PERL)?

152 views Asked by At

The only difference between miniperl and perl is that miniperl cannot load XS-based perl modules as shared objects. So it can't load WIN32 or CWD modules.

Is it possible to get Current Working Directory in miniperl?

1

There are 1 answers

0
ikegami On BEST ANSWER

Yes, it's possible using the following:

chomp( my $cwd = `cd` );