Help for this page

Select Code to Download


  1. or download this
    echo Range iterator outside integer range|splain
    Range iterator outside integer range (#1)
        (F) One (or both) of the numeric arguments to the range operator "
    +.."
    ...
        One possible workaround is to force Perl to use magical string inc
    +rement
        by prepending "0" to your numbers.
    
  2. or download this
    sub range {
      my( $start, $end ) = @_;
    ...
    for(range( $x , $x+2 )) {
      say
    }