in reply to Where to save module data

File::Spec->tmpdir or Path::Tiny->tempdir?

Update: Or probably not as you want to access it from different runs of the program.

Update 2: The module can take the directory as a parameter. Each user will decide where to store the data for their application if they want to use it.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: Where to save module data
by Danny (Chaplain) on Oct 08, 2024 at 19:29 UTC
    And File::Temp uses File::Spec if you want to use that to create a temporary file.