http://www.perlmonks.org?node_id=1018968


in reply to Strange system call failure in OS X

Any ideas?

Employ Basic debugging checklist , that is, dd\@args before you system

Replies are listed 'Best First'.
Re^2: Strange system call failure in OS X
by endor-moon (Initiate) on Feb 15, 2013 at 20:49 UTC

    Thanks, I tried printing the value before sending. I will also use chomp in case there is a newline character there.

    Hah, whaddyknow, chomp solved the problem. Thanks for the debugging link.