in reply to Dumb recursive mkdir question...

File::Path's mkpath does what you want.