On 14 February 2013 09:43, Alexander Hartmaier <alex.hartmaier@gmail.com> wrote: > Thanks for reviewing Ricardo! > > > On Thu, Feb 14, 2013 at 3:51 AM, Ricardo Signes <perl.p5p@rjbs.manxome.org> > wrote: >> >> * Alexander Hartmaier <alex.hartmaier@gmail.com> [2013-01-19T06:54:56] >> > ... >> >> Sorry for the delay. I'm finally reviewing! >> >> This is a sort of random collection of reactions. Sorry for any confusion >> to >> my thoughts. >> >> special variable C<$!> -- should link to perlvar, since $! is a bit weird > > I was thinking about even use-ing English and its $OS_ERROR (or $ERRNO), > what do you think about that? You didn't ask me, but I'll pipe in anyway. Please don't. I consider "use English;" a huge mistake. Perl has enough magic variables that doubling the number you need to remember and the cognitive load associated to remembering them is just a huge pain in the butt. Consider, even if you "use English;" in your scripts you WILL encounter a lot of code that doesn't use them. So then you have to remember both. Since the "English" equivalents are fairly rare knowing what they are is mostly useless. Any time I have encountered "use English;" in code it is has wasted my time by requiring me to double check what "real" magic variable is being used. (For instance what is $OS_ERROR? is it $! or is it $? or is it $^E. Is it the same as $ERRNO? [rhetorical question]) If it were up to me we would deprecate and eliminate use English; At the very least we should warn people not to use it. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next