2009/7/18 Michael G Schwern <schwern@pobox.com>: > Tatsuhiko Miyagawa wrote: >> On Fri, Jul 17, 2009 at 5:30 PM, Michael G Schwern<schwern@pobox.com> wrote: >>> I don't see a down side to leaving it in the language. It isn't harming >>> anything. It isn't causing newbie confusion. >> >> I can't speak as a newbie, but I'm not 100% sure this isn't confusing at all: >> >> use strict; >> my $name = "Joe"; >> print "$name's birthday is tomorrow\n"; >> >> Since it's fully qualified strict doesn't even complain, while >> warnings would tell you something's wrong. > > $ perl -w > use strict; > my $name = "Joe"; > print "$name's birthday"; > > Name "name::s" used only once: possible typo at - line 3. > Use of uninitialized value $name::s in concatenation (.) or string at - line 3. > > Its interesting. In my experience I've never seen a newbie do that... or done > it myself either. Have you? Yes. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next