This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
warnings: rename `$a` and `$b` lexical variables in docs and code
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 21 Jul 2020 16:34:15 +0000 (17:34 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 21 Jul 2020 16:50:42 +0000 (17:50 +0100)
commit573a192df842c42cf7cf0d75082044757c8da929
tree23068bf7f1f4066a7e7347e9a85158c9c1c6f3df
parentb556a509105b280615f792403d680e732f0953ba
warnings: rename `$a` and `$b` lexical variables in docs and code

These variables are special for `sort` and should not be used as
lexicals even in examples.  Use `$x` and `$y` instead.  Also rename
`@a` and `$c` for consistency in examples and meaningfulness in code.
lib/warnings.pm
regen/warnings.pl