NoSkill
NoSkill

Reputation: 768

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

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?

Upvotes: 0

Views: 146

Answers (1)

ikegami
ikegami

Reputation: 385657

Yes, it's possible using the following:

chomp( my $cwd = `cd` );

Upvotes: 1

Related Questions