Hi,

I just realized (don't laugh) that

perl -pe 'do_sth;'

is equivalent to

perl -ne 'do_sth; print;'

I am just thinking why would we need '-ne'
in the first place, since we would
need to print the result anyway (at least in one-liner).

Can anybody suggest the case
where we *only* need '-ne' ?

--
Regards,
Edward WIJAYA
SINGAPORE

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to