|
Revision 20490, 315 bytes
(checked in by Auzon, 8 months ago)
|
|
s/use v6-alpha;$/use v6;/;
Also catching a few other mentions of v6-alpha.
|
-
Property svn:mime-type set to
text/plain; charset=UTF-8
-
Property svn:eol-style set to
native
-
Property eol:style set to
native
|
| Line | |
|---|
| 1 | use v6; |
|---|
| 2 | |
|---|
| 3 | use Test; |
|---|
| 4 | plan 1; |
|---|
| 5 | |
|---|
| 6 | my $value_from_BUILD; |
|---|
| 7 | #L<S12/"Construction and Initialization"/named arguments to bless passed to |
|---|
| 8 | # CREATE BUILD> |
|---|
| 9 | |
|---|
| 10 | class Foo { submethod BUILD ($value) { $value_from_BUILD = $value; } }; |
|---|
| 11 | |
|---|
| 12 | dies_ok { Foo.new("passed") }, 'positional args passed to new() should not be passed on to BUILD'; |
|---|