Multiple choice technology programming languages

Within Perl, which operator is used to change the working directory?

  1. cd

  2. chdir

  3. pwd

  4. wd

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Perl, the built-in function chdir is used to change the current working directory. cd is a shell command, not a Perl function.