in reply to Re^2: why this function call print 9
in thread why this function call print 9
my ($a) =@_; picks off the first element of @_. my ($a) = shift; would get the same value into $a (bad name for a variable BTW - used by sort) and removes that element for @_.
|
|---|