Assuming your files are named "SecurityWin32.pm" and "SecurityUnix.pm", the reason you're getting that error is because you're trying to load modules named "Win32Security" and "UnixSecurity".
BTW, as an alternative for conditional loading of modules, see use if ....
In reply to Re: Problem with conditional module load
by Anonymous Monk
in thread Problem with conditional module load
by pgduke65
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |