in reply to CGI::Application::Plugin::Menu icon issues

G'day navalned,

Welcome to the Monastery.

Without seeing more of your code, this is purely a guess.

The variable $self just appears in &some_run_mode. Where does it come from? What's its state when it's used there? Did you perhaps need something like this?

sub some_run_mode { my ($self) = @_; ... }

You might also look elsewhere in your code to see where "icon" appears.

— Ken