Help for this page

Select Code to Download


  1. or download this
    sub print_perimeter_and_area{
        my $self = shift;
    ...
        $temp = $self->{_height} * $self->{_width};
        print "$temp\n";
    }
    
  2. or download this
    sub print_perimeter_and_area{
        my $self = shift;
    ...
        my $area = $self->{_height} * $self->{_width};
        print "$area\n";
    }
    
  3. or download this
    my $i;
    for $i ( 1..$some_max ){
    ...
    for $i ( 1..$some_other_max ){
       #do something else
    }
    
  4. or download this
    perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi
    +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79
    +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'