0.80 Fri Oct 24 12:06:00 CEST 2008
- CPAN release of the Attribute::Handlers version in bleadperl.
+0.81 Sun Nov 9 22:47:00 CET 2008
+ - Fix to make tests work on 5.6.X (Eric Rybski, RT #40781)
+
sub foo :Args(bar) {}
-my $bar :SArgs(grumpf);
+my $ref;
+sub myref { $ref = shift; }
+my $b;
+eval "my \$bar :SArgs(grumpf); \$b = \\\$bar";
+is( $b, $ref, 'referent' );
sub SArgs : ATTR(SCALAR) {
my ($package, $symbol, $referent, $attr, $data, $phase, $filename, $linenum) = @_;
is( $package, 'main', 'package' );
is( $symbol, 'LEXICAL', 'symbol' );
- is( $referent, \$bar, 'referent' );
+ myref($referent);
is( $attr, 'SArgs', 'attr' );
is( ref $data, 'ARRAY', 'data' );
is( $data->[0], 'grumpf', 'data' );