On Dec 3, 2007 12:51 PM,  <[EMAIL PROTECTED]> wrote:
> "Jeff Pang" <[EMAIL PROTECTED]> writes:
> > mhh? It won't print a newline, it even won't print anything.
> > b/c @ar is empty,  for(...) doesn't go into it, 'print' won't be happened.
>
> Yeah your right... (what was I thinking...) but my point was that it
> seems perl  should say something about this.  It seams at least as
> significant as trying to use an undeclared var.
>


which value was undeclared? the "$_" one? this is a built-in variable
in perl, it doesn't need to be declared.
anyway, you didn't use an undeclared value, so perl won't warn it.

-- 
Jeff (yonghua) Pang
MailSys and Antispam with Perl

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


Reply via email to