http://www.perlmonks.org?node_id=1044778


in reply to appending file name

If you add use warnings; at the beginning of your script, Perl will direct you to the line which you need to change.



Replies are listed 'Best First'.
Re^2: appending file name
by Anonymous Monk on Jul 17, 2013 at 10:10 UTC
    no I have seen the warning so how can I do it ?
      Add  use diagnostics; and it will print an explanation of what causes and how to fix the warning from perldiag