On Thu, Aug 7, 2008 at 9:38 AM, Tara <[EMAIL PROTECTED]> wrote:
> I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file
> which will open the CMD prompt, interact with the user and copy files
> from one location to other directories. Does anyone know how to "dir"
> the files in a d
Seek the wisdom of the Perl Monks at www.perlmonks.org.
Short answer: http://perldoc.perl.org/functions/-X.html
-M gives the file age.
--John
Tara taralish-at-yahoo.com |Perl 6| wrote:
I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file
which will open the CMD prompt, interac
I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file
which will open the CMD prompt, interact with the user and copy files
from one location to other directories. Does anyone know how to "dir"
the files in a directory into an array and sort by date and return the
ones within the p