update at 2026-09-30 19:21:51
This commit is contained in:
@@ -109,10 +109,12 @@
|
||||
|
||||
本行代码使用“-n”标志。-n”标志会假定perl在下循环的中执行你的代码:
|
||||
|
||||
```
|
||||
LINE:
|
||||
while (<>) {
|
||||
#你的代码在这执行
|
||||
}
|
||||
```
|
||||
|
||||
其执行过程是:通过过“<>”读出每一行,并且把它存到变量“$_”中。这时你可以执行任何你想执行的。你可以在你主程序文本中指定他。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user