This code should belong to a package/class (let's call it Request::Server for example).
You can override server/port/etc. settings right after you've created your instance with:
my $server = Request::Server->new; # code for set_defaults executed... # and you override the default before using your object $server->server('qa.website.net'); # and do the rest... $server->start; # just an example!
In reply to Re: Overrides in a Package
by norbert.csongradi
in thread Overrides in a Package
by serotta1958
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |