Your second version seems more perlish to me, although I'd probably fiddle with some of the names and it's not clear why you have the array-ref brackets. I'd suggest:
my($read, $write) = kpipe(...); #korn (cob) pipe! #... is a string that is parsed a la ksh syntax, or a pre-decomposed list: # 'mutt', '-a', ksub('<', 'gzip', '-c', $some_file), '-s', 'mmmm data', '--', 'j...@example.net' You might allow kpipe to accept an existing pair of handles, although it seems unlikely that would be needed/could be worked if not officially supported. _______________________________________________ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm