Yes, that's the right method when you don't know where the issue occurs (for example if you first slurped the file into a scalar or an array, then you get the line number of the last line of the file), but in this case, I am a bit surprised that the warning does not say on which line of the input file the issue occurred. To the OP: did you give the full warning?
In reply to Re: Can you tell me why I get this error and if I can optimize my code somehow?
by Laurent_R
in thread Can you tell me why I get this error and if I can optimize my code somehow?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |