On Tue, Jul 19, 2005 at 10:45:34AM -0700, Piotr Fusik wrote: > The problem is that the arguments passed to exec() are not passed > as they are to the called program, but instead are split on whitespace. > > Example: > perl -e "exec$^X,'-e','print+join+q{,},@ARGV','foo boo bar'" > prints: > foo,boo,bar > > system() works fine: > perl -e "system$^X,'-e','print+join+q{,},@ARGV','foo boo bar'" > prints: > foo boo bar
<snip> > Configured by ActiveState at Mon Mar 31 00:45:28 2003. > > Summary of my perl5 (revision 5 version 8 subversion 0) configuration: Thank you for your report. That's an old version of Perl. Try upgrading and see if the bug is still present. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern Insulting our readers is part of our business model. http://somethingpositive.net/sp07122005.shtml