in reply to Road to a readable path

I guess the equivalent on Unix would be something like:
perl -E 'say for grep $_, split /:/, $ENV{PATH}'
However, the grep filters out the empty string. And so does the 2-arg split. But empty strings in PATHs under Unix are significant. So, I'd write:
perl -E 'say for split /:/, $ENV{PATH}, -1'