Hi There,
I have never used hashes before, althought they seem to be interesting I didn't know the exact use for it. But as times are changing I think I just came to a point where I need a hash, but how do I create one and how do I use it ? Can anyone assist ? this is what I want to accomplish : foreach(HASH) { if (($pdf1) && ($link1)) { exec("ln -s ${link1} ${base}/${pdf1}"); } # End if } # End foreach So I have 2 variables that always come together. To write an if then statement for 10 times because I have 10 * pdf and link variables looks bad to me. So I am looking for the foreach HASH something. I know it must be possible. Who can assist ? Plus, how do I fill a HASH ?? : " HASH = ($pdf1, $link1); "?? How to proceed with my next " HASH[1] = ($pdf2, $link2); " ?? Thanks for your help in advance !!! Regs David -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]