You asked the module to start the default browser and pass it some parameter, that's what it did. It doesn't have any chance to find out what did that program do then. You may check whether the page is accessible using LWP::Simple, but this may fail if the script runs within the intranet of some company that doesn't allow direct access to web servers and requires the use of a HTTP proxy.
If you did need the script to handle this it would have to look into the registry to find out which is the default browser, using some browser specific code find out the proxy and then use LWP::UserAgent and set the proxy parameters the same way they are in the browser. Probably too much work.
In reply to Re: Get error code using ShellExecute to open browser
by Jenda
in thread Get error code using ShellExecute to open browser
by athanasia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |