Also see Simple Module Tutorial. I got your code to basically compile by adding
package L_Switch; use Exporter; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); @ISA = qw/Exporter/; %EXPORT_TAGS = (all => \@EXPORT_OK );
In reply to Re: Perl does not recognize object method
by zentara
in thread Perl does not recognize object method
by lightbringer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |