摘要: 1. 普通变量引用 variable reference 引用就好比C语言的指针,引用变量存储被引用变量的地址。赋值时注意要在变量前加上 \;使用时要多加一个 $ 。 当然,引用也可以成为简单变量,可以使用引用的引用,使用时要记得多加一个$.引用也可以互相赋值 1 #!/usr/bin/perl -w2 my $variable="this is a reference test\n";3 my $refv=\$variable;4 my $refr=\$refv;5 print "this is \$refv:$refv\n";6 print &quo 阅读全文
posted @ 2013-06-24 16:48 to be crazy 阅读(785) 评论(0) 推荐(0) 编辑
摘要: linux添加新用户使用 useradd -----create a new user or update default new user information删除用户使用userdel -----delete a user account and related filesuseadd options:-c, --comment COMMENT set the GECOS field for the new user account-d, --home-dir HOME_DIR home directory for the new user account-p, --password P 阅读全文
posted @ 2013-06-24 13:54 to be crazy 阅读(4020) 评论(0) 推荐(0) 编辑