Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by missingthepoint (Friar)
on Jul 03, 2009 at 06:41 UTC ( [id://776953]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $value1 = "a";
    $value2 = "b";
    ...
    
    $key = join("", $value1,$value2,$value3,$value4,$value5);
    print $key;
    
  2. or download this
    my $str = "v1=$value1,v2=$value2,v3=$value3,v4=$value4,v5=$value5";
    # use $str for key, or perhaps generate hash of $str and use that
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-20 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found