首页 > 其他 > 详细

perl常用总结

时间:2017-07-15 15:32:45      阅读:293      评论:0      收藏:0      [点我收藏+]

#!usr/bin/perl

use warnings;

use strict;

use Getopt::Long;   

use File::Basename;

use PerIO::gzip;  技术分享

use Cwd;

 

=head1 name

  myfile,pl

  #介绍此脚本功能

=head1 example

  perl  myfile.pl  -参数1  ******** -参数2  ********* -参数  ********   2>myfile.log  

=head1 description

  -参数1      <str>             ********

  -参数2      [str]     ********

  -参数3  [int]    ********

  -参数4  [flt]     ********

  -参数         ********

  -help         help

=head1 author

   839365149@qq.com

=head1 version

   1.0  2017-07-15   15:00

=cut

 

#显示时间信息                      

my $time=`date`;

print STDERR "|-- Start $0 at time: ".$time."\n";  #$0指代的就是myfile.pl脚本

 

perl常用总结

原文:http://www.cnblogs.com/Formulate0303/p/7182754.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!