in reply to Re: Help with multidimensional arrays and IO::Socket
in thread Help with multidimensional arrays and IO::Socket
Could it be that if it failed to open there is nothing to close?
A quick look at io::Socket leads to io::handle where they say:
undef $io; # automatically closes the file if it's open
|
|---|