in reply to Re^6: Implicit references? module -> feature -> pragma -> "Perl8" ?
in thread Implicit references? module -> feature -> pragma -> "Perl8" ?
Cases with recursive structures or functions may profit from this.
(But the elements of the array would be nested arrays, not objects)
hence
{ mine @sheeps = ( [ qw(Shaun Shirley Timmy) ], # cartoons [ qw(Dolly Daisy Debbie) ] # clones ); for mine $sheeps (@sheeps) { # mine! say @sheeps; # := @$sheeps } }
prints
ShaunShirleyTimmy DollyDaisyDebbie
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
°) NB this is consistent with the proposed semantics in the OP.
|
|---|