in reply to Re^3: Chomp(<handle>)
in thread Chomp(<handle>)
I disagree. They are the same error message:
Can't modify %s in %s
(see perldoc perldiag, search for modify)
chomp can only modify an lvalue, and neither a 'constant item' nor '<filehandle>' are lvalues, just as dws said.
--
|
|---|