Welcome to the Monastery | |
PerlMonks |
Re^5: Problem in mirror methodby Corion (Patriarch) |
on May 26, 2016 at 07:21 UTC ( [id://1164167]=note: print w/replies, xml ) | Need Help?? |
You did not tell us whether your program works if you hardcode $filename to a fixed value. This would help us determine whether the problem is with the value of $filename or somewhere else in the program. Please do not post small snippets of your program that don't work stand-alone. Reduce your program to an example of about 20 lines that still is self-contained and is runnable by us and which still exhibits the problem. My bet still is that you are extracting an invalid or empty filename, but you're not showing us how $filename gets populated. If you want to help us help you better, please follow the steps outlined above in Basic debugging checklist and in my replies above. All of the steps are necessary.
In Section
Seekers of Perl Wisdom
|
|