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
broken "@{ [] }" parsing #1768
Comments
From gbacon@itsc.uah.eduCreated by gbacon@ruby.itsc.uah.eduThe parser does not accept the following program: [12:25] ruby% cat -n try A small change results in a different error: [12:26] ruby% cat -n try Perl Info
|
From @iabyn(just closing old perl bugs) The orignal report was that print "array: (@{ [ map sprintf("%.2f", $_), @array ] })\n"; gave a syntax error. This is because the inner quotes need escaping, ie print "array: (@{ [ map sprintf(\"%.2f\", $_), @array ] })\n"; Regards, Dave M. |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#3022 (status was 'resolved')
Searchable as RT3022$
The text was updated successfully, but these errors were encountered: