1. 14
  1.  

  2. 1

    I really like context sensitivity in perl, like in natural language. When you use it, it feels like natural, the like of which I haven’t found in any other language like it.

    perl -E 'sub a{if(wantarray){(0,1)}elsif(defined wantarray){"hi"}else{say "nil"}}
    	$a=a;@a=a;say a;say $a;say @a;a'
    
    1. 1

      Just reading the first few paragraphs one might think this is an article about Rust.