mikebind wrote:
> One possibility would be for your Perl script to write it to a file,
> then have your Ruby controller read the file.  I'd like to know if
> there are other ways, though...

Well I do know this. Just as in bash scripting using the backquote 
(tick) around command runs in a subshell and returns the standard output 
from the command.

Example:

irb(main):001:0> `date`
=> "Thu Dec 18 14:00:09 EST 2008\n"
irb(main):002:0>

So as long as your Perl script outputs the result to standard out this 
should work.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to