http://qs1969.pair.com?node_id=1055611


in reply to Re: I want you to convince me to learn Perl
in thread I want you to convince me to learn Perl

I'm also a fan of Perl over Python, and I come to it from literature, so I'm actually even a fan of implicit contexts - but saying that said contexts make Perl less error-prone really doesn't match my experience or anything I've seen. It can make it less verbose for some things once you understand contexts deeply.

Also, given the decisions made in Perl 6 about sigil invariance, it seems pretty clear that the overall drift of the language is away from heavy use of implicit context to determine what code does.
for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

Replies are listed 'Best First'.
Re^3: I want you to convince me to learn Perl
by HelenCr (Monk) on Sep 25, 2013 at 14:00 UTC
    pobocks: the Perl internal logic and language consistency are much broader and deeper than just being about implicit context.

    Like I said, when you consider together the Perl referencing/dereferencing system, together with the sigil methodology, the language becomes very powerful, clear, and unambiguous, simultaneously.

    I can bring innumerous examples.

    Helen

      Please do, then - although I ask that you stick to demonstrating examples where context and sigils reduce the possibility of error, as that is what I was questioning.

      for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";