in reply to security and un-tainting paths

For keeping user supplied paths sane, you probably want the no_upwards method from File::Spec (and the other methods from the same module you are already using).

l8rZ,
--
andrew