&{ bg exe sub { "2>#" }, qw( ls /tmp does_not_exist ), exe "tac", exe sub { print "2nd cmd: @_\n"; print "three> $_" while }, bg exe "sort", exe qw(cat -n), exe sub { print "six> $_" while ; print "5th cmd: @_\n" }, };