malongshuai / malongshuai.github.io

2 stars 0 forks source link

Perl语法的基本规则 | 骏马金龙 #236

Open malongshuai opened 2 years ago

malongshuai commented 2 years ago

https://www.junmajinlong.com/perl/perl_syntax/

因为是比较凌乱的用法规则收集,所以能看懂则看,不能看懂也无所谓。以后也会遇到。 Perl脚本第一行使用#!。Perl的后缀名一般为”.plx”或”.pl”,运行时使用perl NAME.plx即可 例如,1.plx内容如下: 12#!/usr/bin/perlprint "hello world\n" 执行该脚本: 1shell> perl