• Niels Thykier's avatar
    L::Util: Rename "fail" to "internal_error" · b4e5c926
    Niels Thykier authored
    While going through the code, I noted the following gem:
      fail("Internal error: ...");
    If triggered, this would cause an error message saying:
      "internal error: Internal error: ..."
    With the rename, this (kind of) mistake gets easier to spot.  Plus, it
    is a more accurate name for the function.
    Signed-off-by: Niels Thykier's avatarNiels Thykier <niels@thykier.net>
.perlcriticrc 2.86 KB