Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by swl (Parson)
on Apr 07, 2021 at 23:07 UTC ( [id://11130979]=note: print w/replies, xml ) Need Help??


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

Works fine for me.

perl -MFile::HomeDir -E"say File::HomeDir->my_data" C:\berrybrew\5.28.0_64_PDL\data

Note that on Windows it calls the method from File::HomeDir::Windows: https://metacpan.org/source/REHSACK/File-HomeDir-1.006/lib%2FFile%2FHomeDir%2FWindows.pm#L105. This would be something to look into.

Platform specific methods are set up at https://metacpan.org/source/REHSACK/File-HomeDir-1.006/lib%2FFile%2FHomeDir.pm#L57.

Have you modified its $IMPLEMENTED_BY variable to change the methods called?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-26 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found