Help for this page

Select Code to Download


  1. or download this
    sub get_price{
        my $self = shift;
    ...
    
        return $base_price * $discount_factor;
    }
    
  2. or download this
    sub get_price{
        my $self = shift;
    ...
        my $self = shift;
        return $self->base_price > 1000 ? 0.95 : 0.98;
    }
    
  3. 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));'