http://qs1969.pair.com?node_id=592007


in reply to Re: Declaring a Variable [for BEGINNERS]
in thread Declaring a Variable [for BEGINNERS]

If I can come to the defense of C, both languages permit you to declare locally scoped variables at the start of a block. Only in Perl can you declare variables mid-block, although I haven't tested that recently.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds