> -----Original Message----- > From: nkuipers [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 3:03 PM > To: [EMAIL PROTECTED] > Subject: RE: another sort question (flame away) > > > >Would trapping it an eval be what the doctor ordered? > > To answer my own question, no, it would not. > > #use warnings; > > would be better.
Or, for fine-grain control: { no warnings 'numeric'; # disable warning until end of block @foo = sort { $a <=> $b } @foo; } perldoc perllexwarn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]