通过匿名散列创建C风格的struct结构

我们经常直接用匿名散列构造数据结构:

my $student = {
    last => 'Smith',
    first => 'John',
   bday  => '01/08/72'
};


$student->{last}  = 'Smith';

....
原文地址:https://www.cnblogs.com/tjxwg/p/3044969.html