in reply to Re: Writing portable code
in thread Writing portable code
The disadvantage here is that the WinFunctions package is still parsed and compiled on Linux machines, and the symbol table still exists using up memory, even if it never gets used.
For a handful of small functions this is unlikely to cause many performance problems.
What you need to look out for though are cases where, say, WinFunctions not only will not run on Linux, but won't even compile on Linux (e.g. because it uses some Win32::* module). Careful use of run-time require should generally solve this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Writing portable code
by DrHyde (Prior) on Mar 11, 2013 at 11:34 UTC |