Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister


by root (Scribe)
on Dec 23, 1999 at 00:51 UTC ( #1183=perlfunc: print w/replies, xml ) Need Help??


See the current Perl documentation for ExtUtils::Command.

Here is our local, out-dated (pre-5.6) version:

ExtUtils::Command - utilities to replace common UNIX commands in Makefiles etc.

  perl -MExtUtils::Command -e cat files... > destination
  perl -MExtUtils::Command -e mv source... destination
  perl -MExtUtils::Command -e cp source... destination
  perl -MExtUtils::Command -e touch files...
  perl -MExtUtils::Command -e

The module is used in Win32 port to replace common UNIX commands. Most commands are wrapers on generic modules File::Path and File::Basename.


Concatenates all files mentioned on command line to STDOUT.

eqtime src dst

Sets modified time of dst to that of src

rm_f files....

Removes directories - recursively (even if readonly)

rm_f files....

Removes files (even if readonly)

touch files ...

Makes files exist, with current timestamp

mv source... destination

Moves source to destination. Multiple sources are allowed if destination is an existing directory.

cp source... destination

Copies source to destination. Multiple sources are allowed if destination is an existing directory.

chmod mode files...

Sets UNIX like permissions 'mode' on all the files.

mkpath directory...

Creates directory, including any parent directories.

test_f file

Tests if a file exists


Should probably be Auto/Self loaded.


ExtUtils::MakeMaker, ExtUtils::MM_Unix, ExtUtils::MM_Win32


Nick Ing-Simmons <>.

Log In?

What's my password?
Create A New User
[Corion]: The bots bow in response
[Discipulus]: so karlgoethebier, what this idiom is and where i can read about it? i tried to deparse and gives error..;=(
[karlgoethebier]: Eily: non-people == persone non grata?
[Your Mother]: Corion: I have lost the link to the pmdev guide(s). Do you have that handy?
[karlgoethebier]: Discipulus: see per lop please how to avoid the classic <c>perl 'rm -rfv *|'</>
[Eily]: karlgoethebier: more like grata non persona :P

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-07-21 08:07 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (319 votes). Check out past polls.