in reply to what's this loo code?
just printing the value of the assignment is normally no different from just printing the rhs, so what's the point?It's all about context. Just printing the RHS evaluates it in list context. The assignment to $= (an unused global variable) forces the assignment to occur in scalar context.
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.
|
---|