in reply to Re: Choose your own Adventure - for Perl & Windows
in thread Choose your own Adventure - for Perl & Windows
# Automatically start a webbrowser to http://localhost:$CFG{'MYPORT'} if($0 =~/.exe$/i){ system("start","http://localhost:$CFG{'MYPORT'}"); }
And it starts any default OS browser defined by the user currently logged in (user friendly!)
/joke Yes... a typo... should I fix the text or leave it in?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Choose your own Adventure - for Perl & Windows
by afoken (Chancellor) on Apr 12, 2017 at 13:39 UTC |