>How often does the return value from chomp or chop get used? The confusion
>would cleared up considerably, I think, if they didn't return a value.
Seldom, I think--albeit sufficiently often that you might want the
perl526 translator to have any such found be converted to some kind
of lchop/lchomp simply for compatibility.
Come to think of it, non-lvaluing chomp doesn't solve the most common usage
snafuddle:
while (chomp(<ARGV>) { }
--tom
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Graham Barr
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Glenn Linderman
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Johan Vromans
- Re: RFC: Filehandle type-defining punctuation Tom Christiansen
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Bart Lateur
- Re: RFC: Filehandle type-defining punctuation Ted Ashton
- Re: RFC: Filehandle type-defining punctuation Nathan Torkington
- Re: RFC: Filehandle type-defining punctuation Peter Scott
- Re: RFC: Filehandle type-defining punctuation Nathan Wiger
- Re: RFC: Filehandle type-defining punctuation Nick Ing-Simmons
- Re: RFC: Filehandle type-defining punctuation Jonathan Scott Duff
- Re: RFC: Filehandle type-defining punctuation Piers Cawley
- Re: RFC: Filehandle type-defining punctuation Simon Cozens
