use Carp 'confess';
-our $VERSION = '0.75';
+our $VERSION = '0.78';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
my $__captures = $_[1];
eval join(
"\n",
- (map {
- /^([\@\%\$])/
- or die "capture key should start with \@, \% or \$: $_";
- q!my !.$_.q! = !.$1.q!{$__captures->{'!.$_.q!'}};!;
- } keys %$__captures),
+ (
+ map {
+ /^([\@\%\$])/
+ or die "capture key should start with \@, \% or \$: $_";
+ q[my ]
+ . $_ . q[ = ]
+ . $1
+ . q[{$__captures->{']
+ . $_
+ . q['}};];
+ } keys %$__captures
+ ),
$_[2]
);
}
=head1 COPYRIGHT AND LICENSE
-Copyright 2006-2008 by Infinity Interactive, Inc.
+Copyright 2006-2009 by Infinity Interactive, Inc.
L<http://www.iinteractive.com>