in reply to Choosing between multiple closures

Can you update your code to be runnable without needing any edits?

Replies are listed 'Best First'.
Re^2: Choosing between multiple closures
by oakb (Scribe) on Jun 12, 2014 at 07:47 UTC
    Erm... unless you're talking about extraneous things like the shebang and use strict; — which should never be included here for sake of brevity — the provided code is runnable.

      which should never be included here for sake of brevity

      If you look at How do I post a question effectively? you'll see strict and warnings ... and shebang is just one more line, so keep them for the sake of brevity ... and to avoid followups like "did you forget strict/warnings aka the free help in your real code?"

      No dude , talking about feature

      syntax error at - line 4, near ") {" syntax error at - line 7, near "}" Can't use global @_ in "my" at - line 10, near "= @_" syntax error at - line 15, near "}" Execution of - aborted due to compilation errors.

      But I already eyeballed a solution :)