Sample Header Ad - 728x90

Sudden unexplained change in perl behavior

0 votes
0 answers
98 views
I've been using zsh for at least a year, and I use perl in Terminal every day. Today, for the first time ever, launching Terminal got this: Last login: Thu Jul 13 08:50:35 on console Attempting to create directory /Users/WGroleau/perl5 ~/perl5 was actually created 24 May containing man and lib without that message, but it added the **empty** directory bin today.  ~/.cpan was also created 24 May. .zshrc contains eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)" but the date on that file is 16 June and no other dot-files have been edited since then.  The last macOS update was 21 June, macOS_13.4_22F66 to macOS_13.4.1_22F82. brew update also has not happened recently. **Why would perl suddenly decide to add the empty bin and why the message now when it added lib and man silently?** **Update:** Instead of that command doing two different things, it does **three**.  At the suggestion of "user1934428," I get the following: WGroleau@MBP ~ % perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5 PERL_MB_OPT="--install_base \"/Users/WGroleau/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=/Users/WGroleau/perl5"; export PERL_MM_OPT; So this time, it either assigned two environment variables which I will have to track down the purpose of, or displays how they were assigned at some other time.
Asked by WGroleau (5370 rep)
Jul 13, 2023, 11:59 PM
Last activity: Jul 26, 2023, 08:21 PM