F
fl
Hi,
I just begin Perl learning. A sample Perl program is relevant to my
project. After reading some on Perl, I still do not understand the
first line of this sample, see below. Could you help me on its
meaning? Thanks in advance.
eval "\$$1=\$2" while @ARGV && $ARGV[0]=~ /^(\w+)=(.*)/ && shift;
I just begin Perl learning. A sample Perl program is relevant to my
project. After reading some on Perl, I still do not understand the
first line of this sample, see below. Could you help me on its
meaning? Thanks in advance.
eval "\$$1=\$2" while @ARGV && $ARGV[0]=~ /^(\w+)=(.*)/ && shift;