in reply to Re: cross platform scripts
in thread cross platform scripts
I think that should work in principle, since the comparison will be done before the use. It's just a matter of checking the docs to see what the differences are between barewords and normal strings in the use/require magic.use ($^O eq 'MSWIn32' ? 'MyAppWin32' : 'MyAppUnix');
—John
|
|---|