sandy1028 has asked for the wisdom of the Perl Monks concerning the following question:

How to specify date in this format March052009 and how to check whether subdirectory exists in a directory

Replies are listed 'Best First'.
Re: Date format
by ikegami (Patriarch) on Mar 03, 2009 at 05:43 UTC
Re: Date format
by CountZero (Bishop) on Mar 03, 2009 at 05:50 UTC
    Modules such as DateTime (use the format string "%B%d%Y") or File::Find::Rule will certainly be of help here.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James