New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assigning to chomp() with filehandle read #3587
Comments
From @tamiasUsually, assigning to chomp yields a compile-time error: % perl -ce ' chomp( $x = 4 ) = 7 ' However, if the argument to chomp includes an assignment from a filehandle % perl -ce ' chomp( $x = <> ) = 7 ' I'm wondering if perhaps the filehandle read confuses perl into thinking % perl -ce ' chomp( @x ) = 7 ' Perl Info
|
From @iabyn(Just reviewing old perl bug reports). this has been fixed in the latest development version of Perl, which Regards, Dave M. |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#6139 (status was 'resolved')
Searchable as RT6139$
The text was updated successfully, but these errors were encountered: