I would prefer a modified open function to return a handleI 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).
In reply to Re^3: Looking for suitable spells to get open to return a filehandle from a module
by Laurent_R
in thread SOLVED: Looking for suitable spells to get open to return a filehandle from a module
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |