MoshiachNow
IS-IT--Management
HI,
I open a filehandle and use it in one sub.
Then in another sub I want to be able to close that file accessing it's handle.
But if I try to acces that handle,I get error "Bad file descriptor".
Looks like handles are not passed between subs.
Appreciate any advise.
Thanks
Long live king Moshiach !
I open a filehandle and use it in one sub.
Then in another sub I want to be able to close that file accessing it's handle.
But if I try to acces that handle,I get error "Bad file descriptor".
Looks like handles are not passed between subs.
Appreciate any advise.
Thanks
Long live king Moshiach !