Rethinkdb

 view release on metacpan or  search on metacpan

lib/Rethinkdb/Base.pm  view on Meta::CPAN

  }

  # ISA
  if ($flag) {
    my $caller = caller;
    push @{"${caller}::ISA"}, $flag;
    *{"${caller}::has"} = sub { attr( $caller, @_ ) };
  }

  # Mojo modules are strict!
  strict->import;
  warnings->import;
  utf8->import;
  feature->import(':5.10');
}

sub new {
  my $class = shift;
  bless @_ ? @_ > 1 ? {@_} : { %{ $_[0] } } : {}, ref $class || $class;
}



( run in 0.801 second using v1.01-cache-2.11-cpan-299005ec8e3 )