Unfortunely, it isn't the the current month. I always have to take the last month to create the directory. For example, if I had to run it today, it would make a folder in the users directory labeled Aug08. However, I could take the current month and subtract one from it, but I'm thinking the results may potentially be incaccurate when I have to run this in January.
It seems like your helping me again. I appreciate your help.
I'll give the split a shot.
Dave
the results may potentially be incaccurate when I have to run this in January
I agree. So, your choice is to add code to handle the corner case for January, or to use one of the CPAN modules that can probably do this cleanly for you. It looks like you can subtract a month using the
Add_Delta_YM function from Date::Calc.