p4raw-id: //depot/perl@22821
use SelfLoader;
use vars qw { $VERSION @ISA %EXPORT_TAGS };
-$VERSION = '1.95';
+$VERSION = '1.95_01';
@ISA = qw ( Exporter );
%EXPORT_TAGS = ( ALL => [ qw(
# NEED TO COVER MANY MORE CASES HERE!!!
+ # NB 'case' is included here, because in Switch.pm,
+ # it's followed by a term, not an op
+
if ($$textref =~ m#\G\s*(?!$ldel_inner)
( [-+*x/%^&|.]=?
| [!=]~
| =(?!>)
| (\*\*|&&|\|\||<<|>>)=?
- | split|grep|map|return
+ | case|split|grep|map|return
| [([]
)#gcx)
{
# Change 1..1 below to 1..last_test_to_print .
# (It may become useful if the test is moved to ./t subdirectory.)
-BEGIN { $| = 1; print "1..41\n"; }
+BEGIN { $| = 1; print "1..43\n"; }
END {print "not ok 1\n" unless $loaded;}
use Text::Balanced qw ( extract_codeblock );
$loaded = 1;
# USING: extract_codeblock($str);
{ $data[4] =~ /['"]/; };
+{ case /^bar\s+\S+/ {\n#+\n}};
# USING: extract_codeblock($str,'<>');
< %x = ( try => "this") >;