Skip to content

Instantly share code, notes, and snippets.

@nperez
Created April 24, 2009 07:59
Show Gist options
  • Save nperez/101017 to your computer and use it in GitHub Desktop.
Save nperez/101017 to your computer and use it in GitHub Desktop.
I just had a wild thought. Moose-ifying POE::Filters means that if you are stacking filters and require a thin
shim between filters, you no longer need to insert a whole new filter. Simply subclass the filter that needs its
data slightly transformed, and apply advice to the get_one()/put() methods, then insert where you would the
original filter. Very clean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment