Re: Executable using Time::ParseDate fails to run

34 views
Skip to first unread message

Michael Parker

unread,
Apr 9, 2013, 12:20:51 PM4/9/13
to cava-p...@googlegroups.com
Have revisited packaging again recently and this issue still exists in the latest version. Is there any update on this?

On Thursday, 31 January 2013 20:44:53 UTC, Tevfik Karagulle wrote:

Same problem here. Errors starts from line 102 following a multi line regular expression  It seems that Cava's masking logic doesn't handle it properly:

    if ($t =~ s#^   ([ \d]\d)
            / (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)
            / (\d\d\d\d)
            : (\d\d)
            : (\d\d)
            : (\d\d)
            (?:
             [ ]
             ([-+] \d\d\d\d)
              (?: \("?(?:(?:[A-Z]{1,4}[TCW56])|IDLE)\))?
             )?
            ##xi) { #"emacs
        # [ \d]/Mon/yyyy:hh:mm:ss [-+]\d\d\d\d
        # This is the format for www server logging.

        ($d, $m, $y, $H, $M, $S, $tzo) = ($1, $mtable{"\u\L$2"}, $3, $4, $5, $6, $7 ? &mkoff($7) : ($tzo || undef));  <-- first error message here about a backslash
        $parse .= " ".__LINE__ if $debug;

Any clues ?
Reply all
Reply to author
Forward
0 new messages