http://www.perlmonks.org?node_id=919940


in reply to how can I store a reference to a method/function along with the parameters?

try

my $meth_with_param= sub { myMethod('My Param'); };


s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e