Change 13692 by jhi@alpha on 2001/12/14 23:33:28

        Mithing.

Affected files ...

.... //depot/perl/lib/Attribute/Handlers/demo/demo2.pl#4 add
.... //depot/perl/lib/Attribute/Handlers/demo/demo3.pl#4 add
.... //depot/perl/lib/Attribute/Handlers/demo/demo4.pl#4 add

Differences ...

==== //depot/perl/lib/Attribute/Handlers/demo/demo2.pl#4 (xtext) ====
Index: perl/lib/Attribute/Handlers/demo/demo2.pl
--- perl/lib/Attribute/Handlers/demo/demo2.pl.~1~       Fri Dec 14 16:45:13 2001
+++ perl/lib/Attribute/Handlers/demo/demo2.pl   Fri Dec 14 16:45:13 2001
@@ -0,0 +1,21 @@
+#! /usr/local/bin/perl -w
+
+use v5.6.0;
+use base Demo;
+no warnings 'redefine';
+
+my %z1 :Multi(method?maybe);
+my %z2 :Multi(method,maybe);
+my %z3 :Multi(qw(method,maybe));
+my %z4 :Multi(qw(method maybe));
+my %z5 :Multi('method','maybe');
+
+sub foo :Demo(till=>ears=>are=>bleeding) {}
+sub foo :Demo(['till','ears','are','bleeding']) {}
+sub foo :Demo(qw/till ears are bleeding/) {}
+sub foo :Demo(till,ears,are,bleeding) {}
+
+sub foo :Demo(my,ears,are,bleeding) {}
+sub foo :Demo(my=>ears=>are=>bleeding) {}
+sub foo :Demo(qw/my, ears, are, bleeding/) {}
+sub foo :Demo(qw/my ears are bleeding) {}

==== //depot/perl/lib/Attribute/Handlers/demo/demo3.pl#4 (xtext) ====
Index: perl/lib/Attribute/Handlers/demo/demo3.pl
--- perl/lib/Attribute/Handlers/demo/demo3.pl.~1~       Fri Dec 14 16:45:13 2001
+++ perl/lib/Attribute/Handlers/demo/demo3.pl   Fri Dec 14 16:45:13 2001
@@ -0,0 +1,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/);
+

==== //depot/perl/lib/Attribute/Handlers/demo/demo4.pl#4 (xtext) ====
Index: perl/lib/Attribute/Handlers/demo/demo4.pl
--- perl/lib/Attribute/Handlers/demo/demo4.pl.~1~       Fri Dec 14 16:45:13 2001
+++ perl/lib/Attribute/Handlers/demo/demo4.pl   Fri Dec 14 16:45:13 2001
@@ -0,0 +1,9 @@
+use Descriptions;
+
+my $capacity : Name(capacity)
+            : Purpose(to store max storage capacity for files)
+            : Unit(Gb);
+
+package Other;
+
+sub foo : Purpose(to foo all data before barring it) { }
End of Patch.

Reply via email to