http://qs321.pair.com?node_id=418983


in reply to Re^2: fun(?) with +=
in thread fun(?) with +=

Do you mean that you'd write it as:

$foo = @ARGV ? shift : 1;

(I think you may have the 1 and shift switched.)