Ronald J. Kimball [Mon, 14 May 2001 09:38:59 +0000 (05:38 -0400)]
Message-ID: <
20010514093859.A1479715@linguist.thayer.dartmouth.edu>
p4raw-id: //depot/perl@10101
my($self,$var,$sprefix,$rprefix) = @_;
$self->{uc $var} ||= $Config{lc $var};
$self->{uc $var} = VMS::Filespec::unixpath($self->{uc $var}) if $Is_VMS;
- $self->{uc $var} =~ s/\w\Q$sprefix\E\w/$rprefix/s;
+ $self->{uc $var} =~ s,^\Q$sprefix\E(?=/|\z),$rprefix,s;
}
=item processPL (o)