in reply to Subroutine references inside of a hash with arguments.

"1" => sub { get_ifc_name({'ifc_default' => 'test_me',}) },

As an aside, numbers for hash keys? red flag! You should be using an array here, not a hash.

Replies are listed 'Best First'.
Re^2: Subroutine references inside of a hash with arguments.
by shift9999 (Acolyte) on Jul 24, 2009 at 22:43 UTC
    Those were temporary and are to be replaced by menu names. I made the simplest example of the problem I was experiencing that I could.