You probably couldn't have made it this far (on a UNIX system, anyway) without knowing about the
(1) command, which makes directories that hold other filenames and other directories. Perl's equivalent is the
mkdir("gravelpit",0777) || die "cannot mkdir gravelpit: $!";
rmdir("gravelpit") || die "cannot rmdir gravelpit: $!";
Although these Perl operators take advantage of the same-named system calls, they'll work even on systems without those system calls (albeit a bit slower). Perl calls the mkdir and rmdir utilities automatically for you (or whatever they're called on your system). Strike one blow in the name of portability!