Perl-中的-our-my-local-和-state 使用 our 如: 12package Cow; our @ISA = qw(Animal); 就等价于: 1@Cow::ISA = qw(Animal); 也就是说使用这个变量时,前面不用加包名. 2022-10-24 Perl
关于-Perl-从文件句柄中获取内容 不管是从标准输入还是从文件中获取, perl 都不会自动去除换行符. 要判断输入为空时退出, 需要用到 chomp() 来去除换行符. 2022-10-22 Perl
Perl-进阶-Notes 第一章 简介申请 PAUSE 账户, 此链接 使用 use 指定版本时, 小数点之后需要有三个数字, 如: 1use 5.014; 也可以使用两个小数点的形式: 1use v5.14.2; or: 1use 5.14.2; 在线 Perl 社区 第二章 使用模块CPAN (Comprehensice Perl Archive Network). 有三个相关页面: 主页 搜索界面 MetaCPA 2022-10-20 Perl
搭建饥荒服务器 参考准备12$ apt update$ apt install screen wget 添加 32 位 linraries. 使用: 1$ arch 来查询. 若输出为 X86_64, 则需要添加. 123$ dpkg --add-architecture i386$ apt update $ apt install lib32gcc1 报错提示没有 lib32gcc1, 让我下载 lib32g 2022-10-19 Linux
搭建-Terraria-Server-For-Linux 参考准备安装一些软件: 12$ apt update $ apt install unzip 新建目录: 12$ mkdir -p $HOME/Documents/terraria$ cd terraria 获取服务器安装包在 官网 可以查看相关包的链接. 在新建的目录下使用 wget 下载: 1$ wget https://terraria.org/api/download/pc-dedica 2022-10-19 Linux