In this thread I posted a reference to the if module which allows the selective loading of modules based upon conditional tests. In the thread which I have referenced, I posted a snippet of the code would load separate configuration modules based upon the operating system of execution:
use if ( $^O eq 'MSWin32' ), 'MyAppWin32'; use if ( $^O ne 'MSWin32' ), 'MyAppUnix';
Perhaps this is of use to you :-)
perl -le 'print+unpack("N",pack("B32","00000000000000000000001000100001"))'
In reply to Re: cross platform scripts
by rob_au
in thread cross platform scripts
by timbu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |