- $_
- $PROCESS_ID
- $$
read a file line by line
#!/usr/bin/perl
use strict;
use warnings;my $dir ="./tmp";
open (FH, "<$dir/txn-history.txt") or die "Couldn‘t open $dir/txn-history.txt, $!"."\n";
while(<FH>) {
print "$_";
}
perl special charecter,码迷,mamicode.com
时间: 2024-10-29 06:56:23