in reply to File::XDG on varying platforms
I'm confused. You ask what looks better, but all I see are directory paths. Why not just use File::HomeDir to get the user's home directory regardless of OS, and create your directory structure there?
use File::HomeDir; my $home_dir = File::HomeDir->my_home; ... do stuff in home dir
Forget about checking for OS. Just get the home directory of the user regardless of Operating System, create your own sub directory, and dump your content there.
...unless I'm missing something obvious here...
|
|---|