Try restore_parameters(*FILE);
Update: Adding local *FILE; as the first line of the function will protect you from accidently clobbering any other symbols, and will make sure the file gets closed at the end of the block.
In reply to Re: Bareword "FILE" not allowed while "strict subs"
by ikegami
in thread Bareword "FILE" not allowed while "strict subs"
by silent11
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |