Re: same variable defined twice

[email protected] (yitzle)
Newsgroups perl.beginners
Message-ID <[email protected]>
On Thu, May 22, 2008 at 8:57 AM, Octavian Rasnita <[email protected]> wrote:
> Shouldn't perl disallow defining the $text variable a second time in the same script if using "use strict"?

I'm going to venture to answer "no".
However, if you 'use warnings', it will warn you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.