I've been looking at using source filters as a way of optimizing run time code. The idea would be to remove debug and verbose calls in the code based on some criteria. I'm thinking along the lines of Carp::Assert but I don't want to add the if DEBUG after each line that could come out. Instead, I want to use source filters to remove the lines. My question is: Is there a way to do this in one place and have it affect all modules, without modify the Perl source code? Otherwise, I have to add use lines for any filter(s) I write to all existing modules.