Front page | perl.perl5.porters |
Postings from May 2003
Should we deprecate $; ?
Thread Next
From:
Rafael Garcia-Suarez
Date:
May 13, 2003 14:51
Subject:
Should we deprecate $; ?
Message ID:
20030513235650.1343341b.rgarciasuarez@free.fr
$; is the subscript separator for multidimensional array emulation
(as says perlvar). Basically it works like this :
$ perl -MO=Deparse -e '$x{1,2}'
$x{join $;, 1, 2};
In our Unicode and UTF8 world, it's becoming more and more unsafe to use
that kind of hack, esp. when better alternative solutions are available.
I therefore suggest to add to 5.9 a deprecation warning
"Use of multidimensional array emulation is deprecated"
for any use of the implicit join($;,...).
Thread Next
-
Should we deprecate $; ?
by Rafael Garcia-Suarez