On Jun 19, Jeff Westman said: > 1 #!/bin/perl -w > 2 > 3 @a = qx{set};
>Can't exec "set": No such file or directory at ./x line 3. > >Yet, using qx{env} works fine. Why? Because 'set' is a shell built-in, and 'env' is a program. Whatever shell Perl is using to run your command, it DOESN'T have a built-in called 'set' in it. Why not just use the %ENV hash? -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]