in reply to Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.

Unless Perl is lying to you one of the following three variables is undefined $file, the value assigned to 'c' in your %options hash (i.e. $options{c}), or $!. If this is indeed your code, I'd lay bets on $file as you declared it but never gave it a value.

  • Comment on Re: Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.
  • Select or Download Code