From: Nick Snels Date: 2006-03-08T23:00:42+09:00 Subject: Call Perl script from Ruby Hi, I have a very basic Perl script (calls a nice CPAN library not available in Ruby) that prints it output to the screen. In Ruby I call it like: sql = `vendor\\sql\\sql.pl "#{@question.sql}"` But I get the following error Errno::ENOEXEC in Question#create Exec format error - vendor\converters\sql\sql.pl "select * from cdcol.cds" When I call it from DOS it works perfectly. How can I fix this? And is there an alternative for using ` (backquotes)? Thanks for the help. Kind regards, Nick -- Posted via http://www.ruby-forum.com/.