Dear Mike,

> To "use a variable" means to have it on the RHS, usually. LHS only counts 
> as defining it.

In computer science, yes.  In perl (surprise!) no.

----------------------\/--------BEGIN---------\/----------------------
% perl -lwe '$x = "hi";'
Name "main::x" used only once: possible typo at -e line 1.
% 
% perl -lwe '$x = "hi"; $x = "lo"'
% 
% perl -lwe '$x = "hi"; print $x'
hi
% 
----------------------/\---------END----------/\----------------------

I don't know what is causing Ranga's warning.  But it is not
LHS-versus-RHS.

peace,                  || Rainbow children in Kolkata:
--{kr.pA}               || http://tinyurl.com/x8lc
-- 
"Onomatopoeic" is not onomatopoeic.
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to