Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Needless to say, both -I and -E cannot be included in a single invocation of activitymail.

    I don't see why it is "needless to say". Surely it could be useful to allow multiple -I and -E options in a single invokation to specify subtle patterns of selection. Just process them in order and use the selected result whenever a match is foud, or reverse the final option if its pattern fails to match. So: "-I normal -E no*" would exclude most files beginning with "no", but still include "normal" as well as fil

    • Perhaps a better sentence to use would have been: It is ambiguous at best to specify both -I and -E, thus it is not allowed. Your suggested algorithm is neither the one that I came up with, nor the one that David originally implemented, thus we decided not to allow it to avoid such confusion. Gary Meyer.
    • I kinda like this idea, but I'm not sure how I'd divide it up if either or both -E and -I specified multiple regular expressions. How to decide which go first?