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

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

Thread Previous | Thread Next
From:
Abhijit Menon-Sen
Date:
July 19, 2001 04:53
Subject:
Re: [PATCH 20010704.007] bareword not detected as part of first argument to print
Message ID:
20010719172247.C10327@lustre.dyn.wiw.org
At 2001-07-19 08:49:33, nick@ing-simmons.net 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.

Perhaps I gave up too early, though. I'd appreciate any suggestions for
a proper fix.

- ams

Thread Previous | Thread Next


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