in reply to Bareword "FILE" not allowed while "strict subs"
I haven't actually used the restore_parameters call you're referring to but I'm guessing from the documentation that it would work just fine...sub slurp { my $file = IO::File->new("params.inc","<") or die $!; restore_parameters($file); $file->close(); }
|
---|