Keep It Simple, Stupid | |
PerlMonks |
Re^2: Cleaning %PATH% with WinBatchby LanX (Saint) |
on May 22, 2022 at 17:01 UTC ( [id://11144090]=note: print w/replies, xml ) | Need Help?? |
> Modern berrybrew handles ActiveState as well. ah good to know ° > And if you can replace text in the path with DISABLED, why can't you replace it with empty, or at least a single semicolon? I can only replace a fixed leading part not the whole entry because there doesn't seem to be a wildcard mechanism like regex s/c:\\perls\\.*?;//g ... I can only s/c:\\perls\\/DISABLED/g (Well I could if I iterated over all possible complete entries)
Cheers Rolf
updatedemo:
update°) though can't find it mentioned on GitHub...
In Section
Seekers of Perl Wisdom
|
|