Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: File::HomeDir methods my_dist_data and my_dist_config do nothing on Win32

by Discipulus (Canon)
on Apr 08, 2021 at 10:49 UTC ( [id://11131002]=note: print w/replies, xml ) Need Help??


in reply to File::HomeDir methods my_dist_data and my_dist_config do nothing on Win32

Hello Intrepid,

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*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: File::HomeDir methods my_dist_data and my_dist_config do nothing on Win32
by Intrepid (Deacon) on Apr 08, 2021 at 19:22 UTC
    Thanks Discipulus and swl. I am not running the portable edition of StrawberryPerl. I have not modified $IMPLEMENTED_BY (swl). Well, I guess I'll keep poking at it (looking at the code).
    never
    Examine what is said, not who speaks.
    Love the truth but pardon error.
    Silence betokens consent.
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found