This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Ensure that C<(state $x) = $y> is not a state assignment
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 3 May 2006 22:49:14 +0000 (22:49 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 3 May 2006 22:49:14 +0000 (22:49 +0000)
commitaa2c63737286632915551d619f384bdece155a3f
tree6ef81f5ceea23c1b0ac6b2c2eeff37421b4e1c25
parent5d1e1362bca3ef5bc255eeeafbbd67ab16a83104
Ensure that C<(state $x) = $y> is not a state assignment
(due to the parentheses that make it a regular assignment
to a variable declared inside a list)

p4raw-id: //depot/perl@28089
t/op/state.t