Thank you for the quick response, and forgive me for being a little slow if I wanted to use the %function option how do you call multiple lines of code? Here is the IF statement I'm currently using to call my subroutines:
if ($^O eq 'MSWin32') {
require Win32::OLE;
call_win()...
Hello:
I'm having difficutly getting a Perl Program to NOT send an error message on code that is meant for a Unix server I need to use a 3rd party "callAPI" and the coding is different for Windows vs. Unix so I check if it's windows call one subroutine else it's unix use another subroutine on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.