in reply to Re^2: "Nonliteral literal" is just an expression.
in thread "Nonliteral literal" is just an expression.
sub flatten { my ($struct) = @_; if (ref [] eq ref $struct) { return map flatten($_), @$struct } else { return \$_[0] # <- We need to use the alias, not a copy. } }
|
|---|