Assigning actions to a variable
问题 In answering Aaron's recent question, I'd like to do something like the following: rule first_rule { select when pageview "exampley.com/\?name=(.*)" setting (username) pre { isjoe = username eq "joe"; myaction = defaction() { thisaction = isjoe => notify("Hello, World", "Hi there, Joe!") | noop(); thisaction(); }; } { notify("Will it work?", "Methinks you are #{username}"); myaction(); } } However, the defaction never seems to work. It doesn't like that I'm trying to assign an action to a