6 use lib qw{blib/lib blib/arch};
8 sub Hlagh::new { my $class = shift; bless { }, ref($class) || $class ; }
10 sub foo { shift; print "foo $_[0]\n" }
11 sub bar { print "wut\n"; }
12 my $bar = bless { }, 'main';
19 $x = new Hlagh 1, 2, 3;
20 my $y = slap $x "what", 5;
32 foo(6, 7, 8); my $y = new $_ qr/bar/;
36 my $z = foo meh, 1, 2;
40 $y = Hlagh->new(1, 2, 3);
43 $y = new Hlagh 1, 2, 3;
52 $y = $pkg->new(1, 2, 3);
65 print { $^H{dongs} } 'bleh';