Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Corrupt Data?

by almut (Canon)
on Jul 14, 2008 at 23:27 UTC ( [id://697598]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://697598]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-18 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found