in reply to Assigning the result of a chomp to the chomped var itself.

I'd call that a bug :)

Lots of refactoring for chop recently ... http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=free&s=chop, http://perldoc.perl.org/perlguts.html#Offsets

S_do_chomp(pTHX_ SV *retval, SV *sv, bool chomping) looks hairy :)

  • Comment on Re: Assigning the result of a chomp to the chomped var itself.