A lazy approach is to move use Switch under your pod. More energy is takened to localize the use of Switch. These approaches come from a mental process that is suited to refactoring or enhancing unfamiliar code.
Be well,# use Switch; deleted... sub doCmd { my $self = shift ; my $cmd = shift ; use Switch; switch ($cmd) { case 'get_permission' {} } no Switch; }
In reply to Re: Extremely weird module issue...
by rir
in thread Extremely weird module issue...
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |