On Mon, Jan 17, 2022 at 11:34:40AM +0000, Dave Mitchell wrote: > I propose that a sort with no physical arguments should be made > a compile-time error for 5.36: > > @a = sort; # currently equivalent to @a = (); would become compile error > > @empty = (); @a = sort @empty # unaffected Now done as v5.35.7-56-g78cc98885f (and I even remembered to add a perldelta entry!) -- Never work with children, animals, or actors.Thread Previous | Thread Next