perlfunc
root
<P>
ExtUtils::Command - utilities to replace common
<FONT SIZE=-1>UNIX</FONT> commands in Makefiles etc.
<P>
<HR>
<P>
<PRE> 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
<P>
The module is used in Win32 port to replace common
<FONT SIZE=-1>UNIX</FONT> commands. Most commands are wrapers on generic
modules File::Path and File::Basename.
<DL>
<DT><STRONG><A NAME="item_cat">cat</A></STRONG><P>
<DD>
Concatenates all files mentioned on command line to
<FONT SIZE=-1>STDOUT.</FONT>
<P><DT><STRONG><A NAME="item_eqtime">eqtime src dst</A></STRONG><P>
<DD>
Sets modified time of dst to that of src
<P><DT><STRONG><A NAME="item_rm_f">rm_f files....</A></STRONG><P>
<DD>
Removes directories - recursively (even if readonly)
<P><DT><STRONG>rm_f files....</STRONG><P>
<DD>
Removes files (even if readonly)
<P><DT><STRONG><A NAME="item_touch">touch files ...</A></STRONG><P>
<DD>
Makes files exist, with current timestamp
<P><DT><STRONG><A NAME="item_mv">mv source... destination</A></STRONG><P>
<DD>
Moves source to destination. Multiple sources are allowed if destination is
an existing directory.
<P><DT><STRONG><A NAME="item_cp">cp source... destination</A></STRONG><P>
<DD>
Copies source to destination. Multiple sources are allowed if destination
is an existing directory.
<P><DT><STRONG><A NAME="item_chmod">chmod mode files...</A></STRONG><P>
<DD>
Sets
<FONT SIZE=-1>UNIX</FONT> like permissions 'mode' on all the files.
<P><DT><STRONG><A NAME="item_mkpath">mkpath directory...</A></STRONG><P>
<DD>
Creates directory, including any parent directories.
<P><DT><STRONG><A NAME="item_test_f">test_f file</A></STRONG><P>
<DD>
Tests if a file exists
</DL>
<P>
<HR>
<H1><A NAME="BUGS">BUGS</A></H1>
<P>
Should probably be Auto/Self loaded.
<P>
<HR>
<H1><A NAME="SEE_ALSO">SEE ALSO</A></H1>
<P>
ExtUtils::MakeMaker, ExtUtils::MM_Unix, ExtUtils::MM_Win32
<P>
<HR>
<H1><A NAME="AUTHOR">AUTHOR</A></H1>
<P>
Nick Ing-Simmons <<EM>nick@ni-s.u-net.com</EM>>.
<HR>