Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: grep confusion

by polypompholyx (Chaplain)
on Oct 01, 2005 at 19:30 UTC ( #496674=note: print w/ replies, xml ) Need Help??


in reply to grep confusion

The code you posted should work. I think the items you believe should be duplicates are not: the data at the end of the string makes them different: "Root/file\0\0" ne "Root/file\0". I think the bug lies in your unpacking, or that you need to do some regexing or similar to remove the irrelevant junk on the end of the items of @array.


Comment on Re: grep confusion
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2014-12-25 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls