in reply to RE: Can't use string ("100") as an ARRAY ref while "strict refs" in use at ./divide_con_210.pl line 19.

mmm, isn't it the same as
sub search { my ($number, $target) = @_; return $target if $target <= $number; }
  • Comment on Re^2: Can't use string ("100") as an ARRAY ref while "strict refs" in use at ./divide_con_210.pl line 19.
  • Download Code