in reply to trouble assigning values to hash

Update: OPed code changed by bluethundr.

bluethundr:

This is a bit OT your OPed question, but in addition to what ikegami said, the deleted regex
    /(\d+\-\d+\-\d+\s\d+\d+\d+\+)/
looks fishy.

Replies are listed 'Best First'.
Re^2: trouble assigning values to hash
by ikegami (Patriarch) on Aug 27, 2010 at 00:46 UTC

    Note that the  might not be in what he pasted. His browser may have substituted a U+FFFC for that. That said, his code shouldn't have U+FFFC there either.

      yes thanks for pointing that out. due to a route problem in the new office I can't tunnel into my desktop and grab the original code that I attempted to paste. I am pretty sure that I fixed it but I will have to wait until I get into the office to be sure. That'll teach me to post to this forum on my way out the door at the end of a busy day! ;)

        Just one more picky observation concerning the updated OP code:

        The sub-pattern  \d+\d+\d+\d in the updated regex
            /(\d+\-\d+\-\d+\s\d+\d+\d+\d)/
        can be more concisely (and, IMHO, better) written as  \d{4,} ('four or more digits'). Moreover, I think I would use some formatting and fewer backwhacks to wind up with something like
            m{ (\d+ - \d+ - \d+ \s \d{4,}) }xms