$gimme = #some call to the second program; #### #!usr/local/bin/perl $output = "blah"; #actually generated in the program return $output; #...or something I don't know if return # is the right statement here either.