Help for this page

Select Code to Download


  1. or download this
    
    Please note the following does not work as expected (prints nothing), 
    +since overloading of '..' is not yet possible in Perl (as of v5.8.0):
    
            perl -Mbignum -le 'for (1..2) { print ref($_); }'
    
  2. or download this
    for my $num (2..2) {
        $s = sqrt($num * 1);
        print Dumper(\$s);
    }