sub test {
my $head = "abc";
my $tail = "def";
my $full = "${head}_${tail}";
print $full, "n";
}
直接写成下面这样,在strict模式下是无法通过的。
my $full = "$head_$tail";

2023-03-06
0万阅读

2023-03-01
0万阅读

2023-02-23
3万阅读

2023-02-23
5万阅读

2023-02-23
7万阅读

2023-02-22
6万阅读

2023-02-17
5万阅读

2023-01-18
2万阅读

2022-12-23
4万阅读

2022-12-22
4万阅读

2023-03-06
0万阅读

2023-03-01
0万阅读

2023-02-23
3万阅读

2023-02-23
5万阅读

2023-02-23
7万阅读

2023-02-22
6万阅读

2023-02-17
5万阅读

2023-01-18
2万阅读

2022-12-23
4万阅读

2022-12-22
4万阅读