yes i have some perl libaries and no chance to use them via ruby directly. i postet this problem on monday and someone told me that. so i have to communicate with the scrpits. i know that it is not versy good but i don't want to rewrite all from the perl libary whcih would take very long cause i didn't write it. thanks a lot for your answer. will try it then. ;) regards max Robert Klemme wrote: > > "max" <max / solution-x.com> schrieb im Newsbeitrag > news:newscache$gcdy6h$q77$1 / news.sil.at... > > i would like to call a perl script with ruby. > > so i write puts erl test.plĄ¨ > > these must backquotes like in: > > puts `perl test.pl` > > when you want to write a new perl script, then do it directly in ruby > instead. integrating a big perl script that you don't want to rewrite > seems to me the only case where call integration like this is appropriate. > what features are there in perl that you miss in ruby? > > > how can i do it that my ruby programm gives the scrpit 1 and the perl > > script adds one and gives the result back to my ruby script. > > in perl script (from memory): > > print $ARGV[0] + 1, "\n"; > > regards > > robert >