HI, I'm wanting to execute my PERL script in a binary/executable form. I wrote a C wrapper to do so. However, when executing the binary code produced by the wrapper, it produced the warning message as attached the file WRAPPER-OUTPUT.txt.
However, when executing just the script itself, the script did not produce the warning "The flags you gave make no sense since you're not sending mail. ". The output is shown below: [EMAIL PROTECTED] file-6.pl names /pgadm1/usr1/adm/cleaw/script/test/WEIRDER opened successfully $names[0]=cleaw $list= [EMAIL PROTECTED] HERE ... ELEMENTS: 1073741824 1 udp 661 program 1073741824 version 1 is not available ELEMENTS: 1073741825 1 udp 899 program 1073741825 version 1 is not available ELEMENTS: 1073741826 1 udp 756 program 1073741826 version 1 is not available ELEMENTS: 1073741827 1 udp 813 program 1073741827 version 1 is not available Sending mail now ... SUBJECT: RPCPING OUTPUT HOST :pgadm1 IP :172.30.209.15 OS :aix PROG NO VER PROTO PORT SERVICE RESPONSE 1073741824 1 udp 661 program 1073741824 version 1 is not available 1073741825 1 udp 899 program 1073741825 version 1 is not available 1073741826 1 udp 756 program 1073741826 version 1 is not available 1073741827 1 udp 813 program 1073741827 version 1 is not available I was wondering if someone could show me how I could convert a PERL script into a binary code? Or if the way that I've wrote my wrapper is wrong, kindly correct me. Are there any perl functions or modules which converts a PERL script into a binary code? Attached also are both my perl script(file-6.pl) and also my C wrapper code (visit.cc). Could someone kindly help me out? Thanks <<file-6.ZIP>> <<visit.cc>> <<WRAPPER-OUTPUT.txt>>
file-6.ZIP
Description: Zip compressed data
visit.cc
Description: Binary data
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]