Li Ngok Lam Sun, 03 Aug 2003 00:37:45 -0700
$x = sub { $y = shift; print $y }; $X = $x; $X -> ("123"); # prints 123; undef $X; $Z = $x; $Z -> ("234"); # prints 234
Question : 1. When will you use this kind of style in your code ? 2. Any "name" for this kind of coding style ? TIA