Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: can i concatenate various value to form a unique key

by ambrus (Abbot)
on Jul 03, 2009 at 08:07 UTC ( [id://776979]=note: print w/replies, xml ) Need Help??


in reply to can i concatenate various value to form a unique key

Sure, just use pack "(J/A)*", @strings instead of join "", @strings to concatenate the strings to a unique key. (On older perls, use I instead of J.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2026-04-12 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.