in reply to Re^4: Aren't there code refs as well as function refs?
in thread Aren't there code refs as well as function refs?
Actually I was coming from the string-interpolation perspective, and didn't expect the following to "work"
# https://perlmonks.org/?node_id=11150758 use v5.12.0; # incl. strict use warnings; no strict 'refs'; our @abc = 1..3; say "@{'a'.'bc'}";
--->
1 2 3
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
|
|---|