Next | Tricks of the Wizards | 202 |
Theory: People find implicit use of $_ confusing
Sometimes, it's a genuine error, as with
$z = s/x/y/g; # Should be =~
So let's forbid it.
no underscore; # Forbids use of $_
$z = s/x/y/g; # Forbidden print HANDLE; # Forbidden chop; # Forbidden -x; # Forbidden
This was invented by Tom Christiansen
Next | Copyright © 2003 M. J. Dominus |