From: 12 34 Date: 2007-07-24T04:16:47+09:00 Subject: Re: Calling a Perl script from Ruby Answering own question: gpxFiles = gpxDateFN.join("\" \" ") `perl \"#{gpsPhotoLoc}\" --dir \"#{destPhoto}\" --gpsfile \"#{gpxFiles}\" --timeoffset #{timeOffset}` All the double quotes are needed because the file names have spaces in them, and gpxFiles is a list of file names with a space in between each item. Rather ugly solution. Open to suggestions on getting a string list from an array with double quotes around each item and a space between each item. But it's working I think. I need to exercise it some to make sure. -- Posted via http://www.ruby-forum.com/.