Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Determining uniqueness in a string.

by QM (Parson)
on Oct 03, 2005 at 19:59 UTC ( [id://497043]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Determining uniqueness in a string.
in thread Determining uniqueness in a string.

You're missing the closing }) (perhaps a copy/paste error?)

I also don't care for the assumption that it's exactly 10 characters when it gets to uniq. If that requirement changes, uniq becomes broken without being modified. While this is perhaps simplistic, the fact that the code is separated means it's easy to update one without seeing the other, and it quietly fails. uniq would be better named pannumeric.

-QM
--
Quantum Mechanics: The dreams stuff is made of

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-18 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found