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.
  • Excellent points, Adam. I'm looking at making sure that File::Next [] is doing regexes before start.


  • Basically the rules are a bunch of "ands" or short circuit operators right? So the order doesn't matter for anything but execution speed. So if you have

        common_but_lengthy() && rare_but_short()

    It should be re-written as

        rare_but_short() && common_but_lengthy()

    Not because it's any more correct, but because as you point out it saves time. So switching the order of how F::F::R does things shouldn't affect the correctness right?
    • There are some subtleties involved for pruning, purging, boolean combinations etc.

      But I _THINK_ that if you have a simple state rule, immediately followed by a simple name rule, that case can always be swapped.