http://www.perlmonks.org?node_id=581717


in reply to Re: RFC: A Primer on Writing Portable Perl Programs
in thread RFC: A Primer on Writing Portable Perl Programs

The point of avoiding explicit use of $^O was to prevent cluttering up the code, which isn't an issue when accesses to that variable are confined to a module. But I agree that you can't always avoid OS-specific code, so perhaps the word "minimize" might be a better choice than "avoid".
*=========================================================================*
| Dr. Tim Maher, CEO, Consultix
| Email: tim@consultix-inc.com
*=========================================================================* 
  • Comment on Re^2: RFC: A Primer on Writing Portable Perl Programs