File: simple.pl

package info (click to toggle)
libmoox-late-perl 0.100-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 192 kB
  • sloc: perl: 154; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 130 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
package Foo;
use Moo;
use MooX::late;
has bar => (is => 'ro', isa => 'Str|ArrayRef[Int|Num]|Int');

Foo->new(bar => [1, '2o', 3])