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 (<
> 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
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+)/;