This module was discussed in another thread. I know of three problems:
1) This module polutes the first user's namespace with 161 symbols (3 from Carp, 158 from Socket 0 from IO::Socket::INET) because the use statements comes before package statement.
2) This module has a method called stat. Be careful not to override the builtin stat with the one from this module.
3) This module's stat does not return a boolean value. You must string-compare the return value with "Up" to determine if the the connection can be established.
In reply to Re: mship.pm
by ikegami
in thread mship.pm - my first module
by tcf03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |