Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9482
  • 博文数量: 7
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 80
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-05 11:36
文章分类

全部博文(7)

文章存档

2015年(7)

我的朋友

分类: PERL

2015-06-27 09:47:29

a+b

#!/usr/bin/perl use strict;
use warnings; use Data::Dumper;
use Term::ANSIColor qw(:constants);
while (<>)
{
my ($a, $b) = split;
print $a+$b . "\n"
}

阅读(319) | 评论(0) | 转发(0) |
0

上一篇:Perl Moose

下一篇:acm 1006

给主人留下些什么吧!~~