http://www.perlmonks.org?node_id=1198026


in reply to Safe string handling

sub min { my $r = shift; map { $r = $_ if $r > $_ } @_; return $r; }