Perl: re-init memory and keep old allocation

前端 未结 0 855
误落风尘
误落风尘 2021-02-06 15:18

This is what I want.

my %h;

my @l = ("a", "b", "c");
$h {A} = \\@l;

my @l = ("d", "e", "f");   # @l          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题