|Just another Perl shrine|
setting hash keys by arrayby hotshot (Prior)
|on Sep 09, 2002 at 15:57 UTC||Need Help??|
hotshot has asked for the
wisdom of the Perl Monks concerning the following question:
Hello fellow monks!
I have an array of unfixed size (it changes every time depending on a split command), and I want to create a hash which it's keys are by the array's content, for example:
Anyone has an idea how it can be done in a short way? (I remind you that I can't count on fixed sized array)