My intention is not to hijack the above thread but....
Would you mind providing an example where using Perl is easier to manipulate files and directories as opposed to using a shell?
Unless i'm misunderstanding, I would almost always prefer to use mkdir,chmod, chown, cat or whatever platform you're using, over using Perl to do the same thing.
Thanks.