Dear Chris,
> If you define a variable & use it only once, the compiler will complain.
No, it won't. At least not the perl "compiler".
For perl, an assignment (== definition) is also a use.
=begin repeated_example
----------------------\/--------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----------/\----------------------
=end repeated_example
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