How about:
my %thing = ( name => 'thing', count => 0, list => [] ); ++$thing{ count }; print $thing{ name }; print $thing{ list }[ 123 ];
In reply to Re: C-Style Struct?
by BrowserUk
in thread C-Style Struct?
by Mr. Newb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |