Re: very basic questions

2009-01-28 Thread John W. Krahn
b chen wrote: i am completely new to perl, can you explain to me the following line of code in red. There is no red here, there is only black and white. how does this line of code grab a time value and assign it to $ time, how does assigment happend in this conditiona statement. while (<

Re: very basic questions

2009-01-28 Thread Owen
> i am completely new to perl, can you explain to me the following line > of > code in red. > > how does this line of code grab a time value and assign it to $ time, > > how does assigment happend in this conditiona statement. > > > > while (<>) > { > chop; > # Grab the time > next unless ($time

very basic questions

2009-01-28 Thread b chen
i am completely new to perl, can you explain to me the following line of code in red. how does this line of code grab a time value and assign it to $ time, how does assigment happend in this conditiona statement. while (<>) { chop; # Grab the time next unless ($time) = /(\d+:\d+:\d+\,\d+)/;