I just tried eval also (you need a semicolon after the block following eval I found out) and it was the same.
I also tried 'no warnings;' for the block containing the read($file) and that didn't help. I have always checked the file extensions before opening something but someone could clobber my file.
I'm curious now to look under the hood of Archive::Zip even though I probably won't understand it.
In reply to Re^3: Checking if a file is present in a ZIP archive
by Gulliver
in thread Checking if a file is present in a ZIP archive
by bontchev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |