On Tue, Feb 24, 2009 at 11:16 AM, Ruud H.G. van Tol <rv...@isolution.nl> wrote: > David Green wrote: > >> my $foo is limited(100..200); >> $foo = 5; # really does $foo = 100 > > Where does that MySQ smell come from? > Why not undef (or NaN)?
How about Failing instead of any of the above? Silently replacing the assigned value seems like a Bad Idea. -- Mark J. Reed <markjr...@gmail.com>