http://www.perlmonks.org?node_id=590857


in reply to Re^2: File::Basename is dog slow
in thread File::Basename is dog slow

You could keep File::Basename and just stop passing in a list of extensions. Just replace that part of the functionality. Stripping extensions is the part of Basename's parsing that is easy to replace portably, since it is just stripping the list of things you told it to. Keeping the added portability of the rest of the parsing is probably worthwhile and probably isn't dog slow. (:

- tye        

  • Comment on Re^3: File::Basename is dog slow (parts)