Re: perl undef

2003-11-22 Thread James Edward Gray II
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

Re: perl undef

2003-11-22 Thread James Edward Gray II
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

perl undef

2003-11-22 Thread but however
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