in reply to Re^2: Looking for suitable spells to get open to return a filehandle from a module
in thread SOLVED: Looking for suitable spells to get open to return a filehandle from a module

I would prefer a modified open function to return a handle
I agree that creating the filehandle within the sub and returning it to the caller is by far the simplest and the best solution (unless I miss something from the OP requirement).
  • Comment on Re^3: Looking for suitable spells to get open to return a filehandle from a module