The whole premise seems ugly.
arg1, arg2, arg3 bleach:-P
For me the most important thing is the process: Do arg1, then arg2, then arg3, etc. The code needs to clearly define what the process is:
@process = qw/ arg1 arg2 arg3 arg4 arg5 /;
foreach ( @process ) {
if ( $object->method( $_ ) ) {
# ... do stuff
}
}
Even better:
foreach ( $object->getProcess() ) {
if ( $object->method( $_ ) ) {
# ... do stuff
}
}
so that the object controls what the process is and as the object changes so can the process. (ADDED: I could see distilling this down even more and in better ways.)
I'd bet that this is the slowest way to do things, but at least for me it seems the clearest. I don't know what posts you are refering to so I could be completely talking out of my butt.
()-()
\"/
`