Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?


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
[hippo]: Which O/S?
[vedagiri89]: i have searched many forum...not getting resolutions
[vedagiri89]: centos
[Corion]: vedagiri89: Either what choroba said, or maybe you misspelled some module name (on Windows), like use Strict; or something like that.
[vedagiri89]: @choroba, what to do for that
[Corion]: Ah, you are not on Windows, so disregard my opinion.
[vedagiri89]: in centos, how to fix this.
[choroba]: You have to find out why it happened. Was there an OS update?
[vedagiri89]: that is what i can't getting solution
[vedagiri89]: recently purchased centos server and doing migration of app

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2018-06-19 11:21 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (113 votes). Check out past polls.