IIRC the warning is intentionally suppressed if the alleged 'reserved
word' is uppercase, i.e. it will complain about "open f,$file" but
not "open F, $file".

On Sat, 27 Oct 2001, Jan wrote:

> Date: Sat, 27 Oct 2001 20:39:48 +0200
> From: Jan <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: use strict and filehandles
>
> Hi out there,
> i just coded a little programm as an interface between a hardware interface
> on the serial port and a database, but when i use strict, perl always makes
> complaints like:
>
> Unquoted string "iface" may clash with future reserved word at
> iface2dbgeneric.pl line 274.
>
> iface is the filehandle I created for the serial line.
> I tried some things like "my iface;", but they don't work, how do i have to
> declare the filehandle, so strict won't complain about it?
> thanks for help,
> Jan
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to