David Landgren wrote:
David Cantrell wrote:
brian d foy wrote:
Seriously though, I would expect things in Win32::* to only work on
Windows, things in Linux::* only to work on linux, and so on for many
other sections (including Mac::* where I have some modules).  Portable
code isn't always the goal.
I want my code to be more like File::Spec, which provides a common interface to a load of platform-specific modules. That has very good coverage of bizarro OSes ... It doesn't work on RISC OS though.
I suppose that this is less that RISC OS is so truly bizzare that it defies anyone to come up with platform-specific File::Spec code for it, and more a gentle nudge on your part for someone to find the tuits to do so?

Not really, given that I am not one of the three people using RISC OS. It was just an observation that there's plenty of nicely portable stuff on the CPAN which isn't as portable as we would like. That's not really a problem that can be solved, and anyone expecting code outside of the $OSNAME hierarchy to work everywhere is doomed to perpetual disappointment.

--
David Cantrell

Reply via email to