in reply to Re^2: Treating file lines in a text file as a string
in thread Treating file lines in a text file as a string
readline are <> are two names for the same op (readline).
>perl -MO=Concise -e"<FH>" 5 <@> leave[1 ref] vKP/REFC ->(end) 1 <0> enter ->2 2 <;> nextstate(main 1 -e:1) v ->3 4 <1> readline[t2] vK/1 ->5 3 <#> gv[*FH] s ->4 -e syntax OK >perl -MO=Concise -e"readline(*FH)" 6 <@> leave[1 ref] vKP/REFC ->(end) 1 <0> enter ->2 2 <;> nextstate(main 1 -e:1) v ->3 5 <1> readline[t2] vK/1 ->6 4 <1> rv2gv sKR/1 ->5 3 <#> gv[*FH] s ->4 -e syntax OK
Similarly, ``, qx`` and readpipe are three names for the same op (backtick).
and and && are the same op, and or and || are the same op.
Finally, if and unless are implemented using the and and or ops respectively.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Treating file lines in a text file as a string
by Burak (Chaplain) on May 22, 2008 at 12:15 UTC | |
by ikegami (Patriarch) on May 22, 2008 at 17:09 UTC |