I need to over ride a setting in a package or module (not sure what the difference is) and cant figure out how to do it. I think I am struggling with the object oriented syntax but not sure.
In the code below I want to override the server address to point to the test environment.sub set_defaults { my $self = shift; $self->server('prod.website.net') unless $self->server; $self->port('443') unless $self->port; $self->path('/xml/v1/request.api') unless $self->path;
In reply to Overrides in a Package by serotta1958
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |