in reply to Bareword "FILE" not allowed while "strict subs"

please try: sub slurp { open("FILE","<params.inc") || die $! ; restore_parameters(FILE); close("FILE"); } Cheers, Ric
  • Comment on Re: Bareword "FILE" not allowed while "strict subs"