This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldiag: Correct ‘Can't use %s for loop variable’
authorFather Chrysostomos <sprout@cpan.org>
Sun, 16 Nov 2014 01:39:08 +0000 (17:39 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 16 Nov 2014 01:39:08 +0000 (17:39 -0800)
commitc1f06047c0ded9ef04cacab9735c6c65fa803b18
tree52600bfcc343c6493e17462830cc0cde806ec1a0
parent15e6c899987f354dd90584eb3d5acc4257c60e3a
perldiag: Correct ‘Can't use %s for loop variable’

It is no longer true that the variable can only be a simple scalar.
More to the point, this message should never be reached.  If you try
to use something prohibited as your loop variable, you get a syntax
error or ‘Missing $’.
pod/perldiag.pod