in reply to Forcing list context. Brackets (with list within) as an unary right-associative operator
$ blead perl -wle '$_ = "abcdefgh"; print "2" . ( m/./g )[()]' Use of uninitialized value in concatenation (.) or string at -e line 1 +. 2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Forcing list context. Brackets (with list within) as an unary right-associative operator
by haukex (Archbishop) on Mar 01, 2019 at 21:06 UTC | |
|
Re^2: Forcing list context. Brackets (with list within) as an unary right-associative operator
by rsFalse (Chaplain) on Mar 01, 2019 at 14:04 UTC |