2009/10/27 Rafael Garcia-Suarez <rgs@consttype.org>: > 2009/10/27 Ricardo Signes <perl.p5p@rjbs.manxome.org>: >> * Aristotle Pagaltzis <pagaltzis@gmx.de> [2009-10-27T08:45:18] >>> * George Greer <perl@greerga.m-l.org> [2009-10-27 13:15]: >>> > I'd perhaps use it as a "no stringify;" (like "no indirect;") >>> >>> A better name might be something like `no refconv;` (which would >>> include preventing numeric operations on numified references). >> >> I believe, but have not Googled, that MJD proposed this some time ago as C< no >> strict 'deref' >. > > No, he proposed it as C<use strict 'refs'> : > http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-12/msg00924.html > and suggested making an exception for hash keys. > > I think that it should be added in a new pragma. > > If we add a new strict subpragma, like C<use strict > "stringificationofrefs">, we'll have problems, because people will > want to disable it locally by doing C<use strict; no strict > "stringificationofrefs">, and that would be a fatal error on earlier > perls. Have we fixed this is new perls? That is made no strict/no warnings future portable? If not, perhaps we should? Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next