码迷,mamicode.com
首页 > 其他好文 > 详细

perl special charecter

时间:2014-07-22 23:09:35      阅读:293      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   java   color   re   

  • $_

 

  • $PROCESS_ID
  • $$

read a file line by line

mamicode.com,码迷
#!/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 "$_";
}
mamicode.com,码迷

 

perl special charecter,码迷,mamicode.com

perl special charecter

标签:style   blog   http   java   color   re   

原文地址:http://www.cnblogs.com/peng-fei/p/3698363.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!