Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^5: File::HomeDir strange behavior Perl 5.28

by soonix (Abbot)
on Nov 02, 2018 at 20:28 UTC ( #1225134=note: print w/replies, xml ) Need Help??

in reply to Re^4: File::HomeDir strange behavior Perl 5.28
in thread File::HomeDir strange behavior Perl 5.28

I think I'd prefer berrybrew removing the Portable::HomeDir by default. However, CPAN and cpanm both use File::HomeDir->my_home, which means it would be difficult to have different configs for different versions. This probably would only be a minor gotcha, but I see the impact would be greater than what I thought when I wrote this. A config directive is definitely a good idea.

Replies are listed 'Best First'.
Re^6: File::HomeDir strange behavior Perl 5.28
by stevieb (Abbot) on Nov 02, 2018 at 20:53 UTC

    This is exactly why I wanted to hash this out in a public forum, to get as much feedback, criticism and "ohhh, I forgot about that angle!" comments that I can before I make a change.

    I don't like it when I'm too quick to implement something that I'll be kicking myself in the ass for in three months.

    Very good feedback so far here, I appreciate it all.

      I am not an expert user at all, but this is my experience so far removing (...\perl\vendor\lib\Portable\ In order to have <code>File::HomeDir->my_data giving me back the real Windows thing, my Perl installation has the following problem: installing new modules fires error: a new folder strawberry is created under C: where cpan or cpanm try to install the modules, failing. To get modules installed I have to recreate the original (...\perl\vendor\lib\Portable\

        That's a pretty major setback that is, thanks for pointing it out.

        I haven't quite gotten to test this out for myself yet. I've been merging PRs and updating/correcting some other unrelated things for the impending inclusion of berrybrew into hurricup's Camelcade Perl5 Plugin for intelliJ IDEA IDE (which I use for almost all of my Perl development nowadays).

        Should be able to focus on the File::HomeDir situation sometime this week.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2019-07-23 11:11 GMT
Find Nodes?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?

    Results (24 votes). Check out past polls.