summaryrefslogtreecommitdiff
path: root/lib/ctime.pl
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-04-13 22:02:58 +0100
committerSteffen Mueller <smueller@cpan.org>2010-04-27 21:33:45 +0200
commit859172fe8e35383381c4d2edab5f0525b3cb42e8 (patch)
tree4dd339e730c9f769502d339d3e0fe107814acf2f /lib/ctime.pl
parentf398020d62424dd8a766d0d9b78ced4cfea15968 (diff)
downloadperl-859172fe8e35383381c4d2edab5f0525b3cb42e8.tar.gz
don't use $[ in library code
Remove all uses of $[, both reads and writes, from library code. Test code (which must test behaviour of $[) is unchanged, as is the actual implementation of $[. Uses in CPAN libraries are also untouched: I've opened tickets at rt.cpan.org regarding them.
Diffstat (limited to 'lib/ctime.pl')
-rw-r--r--lib/ctime.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ctime.pl b/lib/ctime.pl
index 1b91ec289f..1db90c47bd 100644
--- a/lib/ctime.pl
+++ b/lib/ctime.pl
@@ -35,7 +35,6 @@ sub ctime {
package ctime;
local($time) = @_;
- local($[) = 0;
local($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst);
# Determine what time zone is in effect.