in reply to File::HomeDir methods my_dist_data and my_dist_config do nothing on Win32
I read in the docs:
> Returns the directory path as a string, undef if the current user does not have a data directory, or dies on error.
I get the same result as swl but I suspect both are running portable edition of strawberry so we dont get For example, on Unix you get ~/.foo and on Win32 you get ~/Local Settings/Application Data/.foo as the docs says.
perl -MFile::HomeDir -E"say File::HomeDir->my_data" C:\EX_D\ulisseDUE\perl5.26.64bit\data
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::HomeDir methods my_dist_data and my_dist_config do nothing on Win32
by Intrepid (Curate) on Apr 08, 2021 at 19:22 UTC |