Help for this page

Select Code to Download


  1. or download this
      # print @file_names; exit;  # This prints out the full array content
    +s  when enabled
      foreach (@file_names){
        print $_; exit; # this gives me the error message: Use of uninitia
    +lized value in print
    
  2. or download this
    C:\temp>perl -wle "$a[4]=5;print @a"
    Use of uninitialized value in print at -e line 1.
    ...
    Use of uninitialized value in print at -e line 1.
    Use of uninitialized value in print at -e line 1.
    5