Could you possibly forget to define a package gitadm_shell_commands in your gitadm_shell_commands.pm file?
Try checking symbol table for your sub in case it's left defined somewhere else:
{ no strict 'subs'; sub print_subs { for (keys %{$_[0]}) { next if $_ eq $_[0]; print "$_[0]$_\n" if defined *{$_}{CODE}; print_subs($_[0].$_) if /::$/; # dirty hack } } print_subs("main::"); }
In reply to Re^3: random undefined sub error
by aitap
in thread random undefined sub error
by jerick1976
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |