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

[perl #115158] a2p wrongly considers string literal "0" is always false

Thread Previous | Thread Next
Father Chrysostomos via RT
August 29, 2013 07:03
[perl #115158] a2p wrongly considers string literal "0" is always false
Message ID:
On Wed Aug 28 08:04:05 2013, wrote:
> Ralph Corderoy wrote:
> >                                              If the string is a
> >constant in the source then it's true, not false.  Perl's a2p(1) doesn't
> >handle this subtlety.
> a2p isn't meant to be an implementation of awk, but an approximate
> translator.  It deliberately compromises on awk semantics in order
> to produce idiomatic Perl.  So this problem, arising from a low-level
> difference in language semantics, is unfortunate but not a bug.

Do you think I should close this as being not-a-bug, or leave it open as
a wishlist item?  (Is it a wishlist item, or a ‘won’t fix’?)


Father Chrysostomos

via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About