in reply to Re^5: File::XDG on varying platforms
in thread File::XDG on varying platforms
NERDVANA wrote:
When Windows 11 came out and started spamming me with advertisements and latest gossip-news and giving me Bing results when I was trying to search for Control Panel applets, I spent a few hours researching how to turn all that off permanently by uninstalling Windows components. When it all came back the next month because MS helpfully re-installed all those components without my permission ....
Oi! That's right, that's M$'s failing right there. Windows 10 is bad, too. I don't think any flavor of Gnu/Linux would do something like that; you might get boatloads of unasked-for dependencies when trying to install something, but you always get shown what will happen and have the option to cancel the installation. I'm thinking of how apt works. Compared to M$, I love apt.
Then there's the constant churn in how to get to control panel settings; what somebody reported as working for them (say, on SuperUser, for example) a couple years ago doesn't work today. Really, really annoying.
Let's try to masquerade as people using PMo to discuss Perl: here's a one-liner I recently found on my own home node that I wrote years ago; try it out (works in the cygwin bash shell; there's a set of tweaks to get it to work in a CMD shell but I'm not going to show that):
perl -MWin32 -le 'my @ds=grep {/CSIDL_/} @{ [keys %Win32::] }; ' \ -e 'do {printf qq/%31s => %s\n/, $_, Win32::GetFolderPath(&{$Win32:: +{$_}}) }'\ -e 'for map { $_->[0] } sort {$a->[1] <=> $b->[1]} map { [$_,&{$Win3 +2::{$_}}] } @ds'
Yes, that's a Schwartzian transform hiding in there ;-).
|
---|