develooper Front page | perl.perl5.porters | Postings from July 2013

Re: postfix dereference syntax

Thread Previous | Thread Next
Kent Fredric
July 3, 2013 15:56
Re: postfix dereference syntax
Message ID:
On 4 July 2013 03:09, Aristotle Pagaltzis <> wrote:
> $foo->bar->baz->{qw( foo bar baz )}

Well, assuming you turned on the ability to use

- new deref syntax
- new slice syntax

If they eventually arrived together as one feature ( which I see it
possible of doing ), you could control their scope with a lexical
pragma, a lexical pragma that disabled multidimensional arrays at the
same time.

And there is already a cpan module that does the latter =). # ilmari++


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About