In general most Perl modules/function indicate what you could consider soft falures (file does not exist, port in use, anything from outside of Perl) by returning a special return value rather than throwing an exception.
Exceptions are mostly only thrown when the arguments passed in are invalid.
These rules are not hard and fast - module authors can choose differently.
In reply to Re: IO::Socket *always* making connection?
by nobull
in thread IO::Socket *always* making connection?
by wolfger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |