Hello,
I`m trying to access an array of structs. The ``for my $struct (@structs)'' way works, but I don`t know how to directly access a struct in the array. Saying sth. like ``$structs[0]->name'' for instance gives an error ("Can't call method "name" on unblessed reference"). Is there a way to access it directly? If so please tell me, I`ll name my first child after you if you do :)
thanks in advance
Joern