App-Physics-ParticleMotion
view release on metacpan or search on metacpan
lib/App/Physics/ParticleMotion.pm view on Meta::CPAN
sub _def_or ($$) { defined( $_[0] ) ? $_[0] : $_[1] }
sub new {
my $proto = shift;
my $class = ref($proto)||$proto;
my $self = {
run => 0,
config => Config::Tiny->new(),
};
bless $self => $class;
return $self;
}
sub config {
my $self = shift;
my $name = shift;
return $self->{config} if not defined $name;
( run in 0.625 second using v1.01-cache-2.11-cpan-49f99fa48dc )