How could I properly write $proto2 to defer @a evaluation?my @a; my $proto1 = \@a; my $proto2 = "@{\@a} 3 4"; @a = (1, 2); print "@{$proto1}", "\n"; #OUTPUT: 1 2 print $proto2; #OUTPUT: 3 4, not what I want
In reply to set proto string by vincentaxhe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |