in reply to Zipping the contents of a directory by filename
If you're wanting to do something with files and extensions File::Basename is probably a safer, platform-independent mechanism than blithely using substr. See also Path::Tiny which provides similar {base,dir}name methods.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
---|