On Nov 22, 2003, at 2:10 PM, but however wrote:
Hi, James:
Hello again. Please keep your replies on the list so we can all learn
from and help each other.
Thank you very much! Now, I am clear about the question.
Do you mean the outmost parenthesis captures the value assigned to
variable? Then
On Nov 22, 2003, at 12:54 PM, but however wrote:
Hi,
there is a clause in perl program which assigns two variables with
values from a file.
my ($t, undef, $i)=/t: ((\d|\.)+)\s.*?i=((\d|\.)+)/;
What does "undef" mean in the above clause?
Using undef on the left side of the assignment like this
Hi,
there is a clause in perl program which assigns two variables with values
from a file.
my ($t, undef, $i)=/t: ((\d|\.)+)\s.*?i=((\d|\.)+)/;
What does "undef" mean in the above clause?
Which value will be assigned to $t and $i? in the place \d? or some value?
Thanks,
Wenpeng