in reply to Re: Creation of Hash necessary?
in thread Creation of Hash necessary?

Hey, thanks for your quick Respons. I know how to create hashes. Sorry for this missunderstanding. it's more about, that I do not know how the hash should look alike in this specific case.

Replies are listed 'Best First'.
Re^3: Creation of Hash necessary?
by Anonymous Monk on Aug 14, 2014 at 08:34 UTC

    Hey, thanks for your quick Respons. I know how to create hashes. Sorry for this missunderstanding. it's more about, that I do not know how the hash should look alike in this specific case

    Well if you want to gather up all the classes, maybe hash of arrays

    my %class; $class{def}[0] = $rectangle; $class{def}[1] = $polygon; $class{def}[2] = $rectangle2; $class{jam}[0] = $tangle; $class{jam}[1] = $gon; $class{jam}[2] = $tangle2;

    Now $rectangle/polygon.... could be a string or hash or another array ... whatever makes the most sense :)

     

    rm -rf goners