How can i read the element of this class ? ? $test1 -> element() ?use Class::Struct ; struct works => { 'element' => '%' , 'test' => '@' , 'level' => '$' , }; $test1 = works -> new (); %aa = ( 't1' => 'aaaa' , 't2' => 'bbbb' ); $test1->element(\%aa);
In reply to How to put and read data type hash in a struct by iguane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |