File: frooblestick.pl

package info (click to toggle)
libtypes-uuid-perl 0.004-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: perl: 57; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use 5.014;

package FroobleStick {
	
	use Moo 1.006000;
	use Types::UUID;
	
	has identifier => (
		is      => 'lazy',
		isa     => Uuid,
		coerce  => 1,
		builder => Uuid->generator,
	);
}

my $stick = FroobleStick->new;
say $stick->identifier;