Re: Why doesn't Perl complain about this bareword?
- From: benkasminbullock@xxxxxxxxx (Ben Bullock)
- Date: Wed, 7 May 2008 04:31:28 +0000 (UTC)
Ronny <ro.naldfi.scher@xxxxxxxxx> wrote:
By chance I found out that no error is issued on the following
program:
perl -w -e 'use strict; print(Does::Not::Exist,"\n")'
Instead, "Does::Not::Exist" is printed. Shouldn't there be a warning
about
the improper use of a bareword?
It seems to be a bug in Perl.
.
- Follow-Ups:
- Re: Why doesn't Perl complain about this bareword?
- From: sheinrich
- Re: Why doesn't Perl complain about this bareword?
- References:
- Why doesn't Perl complain about this bareword?
- From: Ronny
- Why doesn't Perl complain about this bareword?
- Prev by Date: Re: perl PNG image searching
- Next by Date: Re: Error in Handling Unicode(UTF16-LE) File & String
- Previous by thread: Why doesn't Perl complain about this bareword?
- Next by thread: Re: Why doesn't Perl complain about this bareword?
- Index(es):
Relevant Pages
|