Hi all,

>To start, I will assume the "@CmdList" versus "@list" bug is a typo or the
result of cutting down your program.

        yes, exec @list , should be exec @CmdList.

        Many of your examples assume that I know exactly how many parameters
I am passing to exec.

        I should have included that @CmdList has a variable number of
options,
        so I don't know how many parms I will be passing.

        As an example, say I am calling an email program.

        On one invocation, I may call it as
        email.pl -to address -sub 'sub line' -mes 'message text'

        In another invocation, I may call it as
        email.pl -to "address1,address2,address3" -sub 'sub line' -file
"file1,file2,file3" -attach "attfile.txt" -mes "this is long message text"


        So as the EXECutor I do not want to know all permutations that the
EXECed program may have.
        Keep in mind that there is more than one EXECed program.


        Should I be looking more in the direction of 

                $inputdata =~
tr/!$^&*()~[]\|{};<>?/\x21\x20\x19\x18...\x01/;
                or some flavor or encode_base64?

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to