| 1 | # Copyright (c) 2012-2017 Martin Becker, Blaubeuren. All rights reserved. | ||
| 2 | # This package is free software; you can redistribute it and/or modify it | ||
| 3 | # under the same terms as Perl itself. | ||
| 4 | |||
| 5 | package Math::Logic::Ternary::TAPI27; | ||
| 6 | |||
| 7 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use Carp qw(croak); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use Math::BigInt try => 'GMP,Pari'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | our $VERSION = '0.004'; | |
| 13 | |||
| 14 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 15 | 0 | my ($class, @trits) = @_; | |
| 16 | 0 | croak "$class: class not yet fully implemented"; | |
| 17 | 0 | return bless [map { $_->Trits } @trits], $class; | |
| 18 | } | ||
| 19 | |||
| 20 | 1 | 1; | |
| 21 | __END__ | ||