Re: about perl question!
please get a perl book, and read it, then ask questions.
_all_ your questions are answered in any (good ;)) perl book
in a _better_ way then i could give. ;)
good luck!
btw, yeah, perl, right! ;)
> 請問my $a=new('red',1,2)#這句是什麼意思呢?
> 還有:
> clock.pm
> package clock;
> sub new{my($type)=@_;
> my $self={};
> 為什麼要定義個這個而且是空的呢?
> $self->{time}=time();
> bless $self,$type;
> #請問bless是什麼意思呢?
> }
> sub get{my($self)=@_;
> return($self->{time});
> }
> clock.pl
> use clock;
> my $clock1=new clock();這句是什麼意思呢?
> print"$clock1->get();這句呢?
--
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.
Reply to: