摘要:
a reference is a variable that refer to a value- as opposed to a variable that contains a valueexample.pl#!/usr/bin/perl#usestrict;usewarnings;main(@ARGV);submain{my$var="ThisisthePerl5referenceschapter.";my$ref=\$var;my$copy=$ref;message($$ref);$var=42;message($$copy);}submessage{my$m=shi 阅读全文
posted @ 2012-03-10 21:31
韩英武
阅读(233)
评论(0)
推荐(0)
浙公网安备 33010602011771号