in reply to Re^2: Creating a bash script "on the fly"
in thread Creating a bash script "on the fly"

Or Path::Tiny which will let you create the directories (otherwise you'll probably File::Path for make_path which works akin to mkdir -p to call yourself).

The cake is a lie.
The cake is a lie.
The cake is a lie.