develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH 20010704.007] bareword not detected as part of first argument to print

Thread Previous
From:
Nick Ing-Simmons
Date:
August 9, 2001 00:41
Subject:
Re: [PATCH 20010704.007] bareword not detected as part of first argument to print
Message ID:
20010809074100.652.6@bactrian.ni-s.u-net.com
Abhijit Menon-Sen <ams@wiw.org> writes:
>At 2001-07-19 17:22:47, ams@wiw.org wrote:
>>
>> > > This is band-aid at best, but it fixes the problem.
>> > 
>> > Not applied (yet).
>> > 
>> > Can you explain why the '.' case is to be singled out for special
>> > band-aid ?
>> 
>> It looked like the only case which could be disambiguated cheaply
>> (consider C<print STDOUT+1>). I tried to check if the bareword was a
>> filehandle via GvIO(gv), and although it worked, make test wasn't happy.
>
>Hi Nick.
>
>Did you have an opportunity to think about this? 

No - moving discussion back to p5p.

I am unhappy with special case for '.' - the perl lexer is messy enough
as it is without additional ad. hoc. schemes - if you can justify 
the case as being very common and obviously more important 
than other characters it may be worth doing.

>Should I try the GvIO
>approach again, or should we stick with the bandaid, or is the problem
>not worth fixing at all?
>
>http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-07/msg00226.html
>
>- ams
-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About