Help for this page

Select Code to Download


  1. or download this
    class Point {
        has Num ($x, $y);
    ...
            return Point->new( x => $y, y => $x );
        }
    }
    
  2. or download this
    class Cache::LRU {
        use Hash::Ordered;
    ...
        method set ( Str $key, $value ) {
            if ( $x->exists($key) ) {
                $x->delete($key);