File: ClassHash.pm

package info (click to toggle)
libtangram-perl 2.12-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,308 kB
  • ctags: 734
  • sloc: perl: 10,260; makefile: 9
file content (14 lines) | stat: -rw-r--r-- 206 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package Tangram::Schema::ClassHash;
use strict;

use strict;
use Carp;

# XXX - not reached by test suite
sub class
{
   my ($self, $class) = @_;
   $self->{$class} or croak "unknown class '$class'";
}

1;