Created
August 30, 2023 16:56
-
-
Save eam/e88093628fe305590674c5fccfd97b9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use utf8; | |
use open qw( :std :encoding(UTF-8) ); | |
use lib "."; | |
use 中文; | |
用特性 '说'; | |
用严格; | |
用提示; | |
包我的试; | |
子新 { | |
我的 ($我) = @_; | |
返回赋予 {}, $我; | |
} | |
子笑 { 说 "哈哈哈" }; | |
笑 | |
我的 $一时 = 我的试->新(); | |
说 $一时; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./test.pl | |
哈哈哈 | |
我的试=HASH(0x5651e4a894b8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment