| 1 | # Copyright (c) 2025-2026 Philipp Schafft | ||
| 2 | |||
| 3 | # licensed under Artistic License 2.0 (see LICENSE file) | ||
| 4 | |||
| 5 | # ABSTRACT: module to interact with the famibeib language | ||
| 6 | |||
| 7 | |||
| 8 | package Lingua::famibeib; | ||
| 9 | |||
| 10 | use v5.16; | ||
| 11 | use strict; | ||
| 12 | use warnings; | ||
| 13 | |||
| 14 | use Carp; | ||
| 15 | |||
| 16 | our $VERSION = v0.08; | ||
| 17 | |||
| 18 | use parent 'Data::Identifier::Interface::Known'; | ||
| 19 | |||
| 20 | my @_wellknown = ( | ||
| 21 | Data::Identifier->new(uuid => '1d668738-8aef-4cb4-a4ed-9368e872a93f', displayname => 'famibeib')->register, | ||
| 22 | ); | ||
| 23 | |||
| 24 | # ---- Private helpers ---- | ||
| 25 | |||
| 26 | sub _known_provider { | ||
| 27 | my ($pkg, $class, %opts) = @_; | ||
| 28 | croak 'Unsupported options passed' if scalar(keys %opts); | ||
| 29 | return (\@_wellknown, rawtype => 'uuid') if $class eq ':all'; | ||
| 30 | croak 'Unsupported class'; | ||
| 31 | } | ||
| 32 | |||
| 33 | 1; | ||
| 34 | |||
| 35 | __END__ |