in reply to map sub to list?

the canonical way is

DB<100> sub f { return $_ + 1 }; DB<101> map f, 1..3 => (2, 3, 4) DB<102> map &f, 1..3 => (2, 3, 4)

Cheers Rolf

( addicted to the Perl Programming Language)