Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 72cfb26c9e1bbf2c1960f63de5a70f9f4b73da4e
      
https://github.com/Perl/perl5/commit/72cfb26c9e1bbf2c1960f63de5a70f9f4b73da4e
  Author: Craig A. Berry <craigbe...@mac.com>
  Date:   2022-12-18 (Sun, 18 Dec 2022)

  Changed paths:
    M dist/PathTools/Cwd.pm

  Log Message:
  -----------
  Remove dead VMS code in Cwd::_backtick_pwd

The code as written would have had no effect since the value in
$^O is 'VMS' not 'vms' so it's better to remove the confused and
confusing code.

_backtick_pwd is not normally called on VMS because it has its own
set of routines dispatched via the %METHOD_MAP hash.

In the unlikely event that _backtick_pwd got called on VMS, it
would either fail because there is no pwd command, or, if running
under some Unix emulation environment, work just like Unix, and
therefore need no special handling of $ENV{PATH} that is different
from Unix.


Reply via email to