Larry Rosler wrote: > If you want to be reasonable, you might want to get the spec right. If > there is no argument, abs(), like so many other builtin functions, uses > $_ as its operand. > > So at least start out with: > > my $x = @_ ? $_[0] : $_; wouldn't the functions that take either a scalar or list argument be easier to write using: @_ = ($_) unless @_; instead? -- Steve Lane <sml@zfx.com> ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe