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

174 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 best solutions below

0
On BEST ANSWER

Yes, it's possible using the following:

chomp( my $cwd = `cd` );