RE: [Perl-unix-users] exec list and Getopt:Long don't get along

2003-02-12 Thread Ignacz, Alex
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 in

[Perl-unix-users] exec list and Getopt:Long don't get along

2003-02-12 Thread Ignacz, Alex
Hi all, I'm having a problem issuing an exec @list and then doing a subsequent GetOptions (... call. What I want to do is call exec with a list, so that shell metacharacters aren't interpreted. The called program should then use GetOptions to parse the command switches pas