summaryrefslogtreecommitdiff
path: root/ext/Attribute-Handlers/demo/demo3.pl
blob: 6760fc08babf4b4e9d73ce32fc18302ced671a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main;
use MyClass;

my MyClass $x :Good :Bad(1**1-1) :Omni(vorous);

package SomeOtherClass;
use base MyClass;

sub tent { 'acle' }

sub w :Ugly(sister) :Omni('po',tent()) {}

my @y :Good :Omni(s/cie/nt/);

my %y :Good(q/bye) :Omni(q/bus/);