October 7 2020 Perl 7: An Opinionated Introduction Back

Suppressing Warnings (2)

        $ cat foo7.pl 
        my ($i, $j, $k);
        $i = 'foo';
        $k = $i . $j;
        print "$k\n";
        $ p7 foo7.pl
        Use of uninitialized value $j in concatenation (.) or string at foo7.pl line 3.
        foo


Home Last TOC Copyright © 2020 James E Keenan Back Next