in reply to Re^2: How to take only maximum directory name by using its digits using perl?
in thread How to take only maximum directory name by using its digits using perl?
Did i made any mistakes with my code.
This isn't an SSCCE. You have neither declared nor defined $output_dir and therefore $location is undefined so LOGFILE cannot be opened and your while (<LOGFILE>) condition will never be true.
Let me know to check it?
Item 1 of the Basic debugging checklist is to use the stricture pragmas. This would have highlighted the problem to you.
|
|---|