Help for this page

Select Code to Download


  1. or download this
    Use of uninitialized value in range (or flip)
    
  2. or download this
    $ perl -w -e 'my $x = 1..3'
    Use of uninitialized value in range (or flip) at -e line 1.
    $
    
  3. or download this
    $ perl -w -e 'my $x = 1..3' -Mdiagnostics
    $
    
  4. or download this
    use warnings FATAL => 'all';
    
  5. or download this
    $ echo 'Use of uninitialized value in range (or flip)' | splain
    Use of uninitialized value in range (or flip) (#1)
    ...
        usually optimized into "that " . $foo, and the warning will refer 
    +to
        the concatenation (.) operator, even though there is no . in your
        program.
    
  6. or download this
    $ perl -w -e 'print ">>>$.<<<\n"'
    Use of uninitialized value in concatenation (.) or string at -e line 1
    +.
    >>><<<
    $
    
  7. or download this
    $ perl -w -e 'print ">>>$.<<<\n"' -Mdiagnostics
    >>>0<<<
    $
    
  8. or download this
    local $.;
    
  9. or download this
    --- diagnostics.pm      2009-06-15 04:21:42.000000000 -0400
    +++ diagnostics.pm.fix  2009-12-05 10:29:53.096561000 -0500
    ...
    
     my $standalone;
     my(%HTML_2_Troff, %HTML_2_Latin_1, %HTML_2_ASCII_7);
    
  10. or download this
    $ perl -v
    
    This is perl, v5.10.0 built for x86_64-linux