perl---window下Mojolicious框架提示Using a hash as a reference is deprecated at templa
Using a hash as a reference is deprecated at template example/index.html.ep line 8Using a array as a reference is deprecated at template example/index.html.ep line 8
很简单 因为没有正确使用hash跟数组造成的
%= %$entries->{$id}->{'id'};
%= %$entries->{$id}->{'title'};
%= %$entries->{$id}->{'text'};
改成
%= $entries->{$id}->{'id'};
%= $entries->{$id}->{'title'};
%= $entries->{$id}->{'text'};
就好了。。。
页:
[1]