in reply to Dynamic function chains?
s/^\-+// for @ARGV; $func = eval 'sub { ' . join(' ',reverse @ARGV) . '$_[0] }'; [download]
Dave.