August 13 2020 | Perl 7: An Opinionated Introduction | Back Next |
We want to honor the original test file author's intent as to what is being tested
We suppress a warning if the warning is not pertinent to what we're testing
$ cat foo.pl use strict; use warnings; my ($i, $j, $k); $i = 'foo'; $k = $i . $j; print "$k\n";
$ perl foo.pl Use of uninitialized value $j in concatenation (.) or string at foo.pl line 5. foo
Home Last TOC | Copyright © 2020 James E Keenan | Back Next |