in reply to Doing the same thing after each statement in a block...?
I'd say take a look at autodie and/or IPC::System::Simple, depending on exactly what you are doing. You'll probably have to write a bit of code to get the messages you want, but it won't be inline with the rest.
|
|---|