in reply to Re^3: Corrupt Data?
in thread Corrupt Data?

I would have used "W" instead of "A"

The reason I used "A" is because it works in older Perls, too, like 5.8.8.  "W" is available in 5.10 only.

Replies are listed 'Best First'.
Re^5: Corrupt Data?
by ikegami (Patriarch) on Jul 14, 2008 at 23:30 UTC
    Then I wouldn't have used unpack. /(.{1,4})/sg would do the trick too.
Re^5: Corrupt Data?
by massa (Hermit) on Jul 15, 2008 at 11:22 UTC
    The point is moot (between "A" and "W") because splickles stated that the input consists of hexadecimal MAC addresses, that would be matched by either one of them.
    []s, HTH, Massa