News for hackers. Stuff that matters.
Re:Which Programming Languages Are Functional? by __david__ on Wednesday December 30, 2015 @01:55PM (#10813580)
$_ isn't really global though:

    perl -e 'for (1,2,3,4) { for (5,6) { print "  $_\n" } print "$_\n" }'
Re:Which Programming Languages Are Functional? by Mithaldu on Wednesday December 30, 2015 @06:02PM (#10814970)
It may look like it is not in loop constructs, but it is. `for` and friends just apply `local` scoping to `$_` internally.