in reply to I just realized that FILEHANDLES violate use strict


Barewords are also allowed under strict in other places where a filehandle might occur, as shown by the following examples:
$ perl -Mstrict -le 'print F . 1' F1 $ perl -Mstrict -le 'print 1 . F' Bareword "F" not allowed while "strict subs" in use at -e line 1. Execution of -e aborted due to compilation errors.

--
John.

Replies are listed 'Best First'.
Re: Re: I just realized that FILEHANDLES violate use strict
by particle (Vicar) on Mar 27, 2002 at 18:39 UTC
    eww! that's ugly! strict should not allow that kind of parsing. fodder for obfu, maybe?

    ~Particle ;Þ