This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Deprecate no space between pattern, following word
authorKarl Williamson <khw@khw-desktop.(none)>
Wed, 9 Jun 2010 20:40:14 +0000 (14:40 -0600)
committerDavid Golden <dagolden@cpan.org>
Fri, 18 Jun 2010 22:43:03 +0000 (18:43 -0400)
commite6897b1a5db0410e387ccbf677e89fc4a1d8c97a
tree6bde58df5125be7b350ea94874255b04b1f053ea
parentd9bf0e0a91525fcdd8099d78b891aa20066e9d1c
Deprecate no space between pattern, following word

This patch raises a deprecated warning on constructs like
    $result = $a =~ m/$foo/sand $bar;
which means
    $result = $a =~ m/$foo/s and $bar;
pod/perldiag.pod
t/lib/warnings/toke
toke.c