in reply to use File::Basename - need to specify OS?

Not exactly like File::Basename, but I never use a suffixlist
sub File::Spec::dirname { shift; return File::Spec->catpath( ( File::Spec->splitpath(shift) )[ 0, 1 + ] ); } sub File::Spec::basename { shift; return File::Spec->catpath( ( File::Spec->splitpath(shift) )[ -1 ] + ); }

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.