diff options
author | Zefram <zefram@fysh.org> | 2010-04-13 22:02:58 +0100 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2010-04-27 21:33:45 +0200 |
commit | 859172fe8e35383381c4d2edab5f0525b3cb42e8 (patch) | |
tree | 4dd339e730c9f769502d339d3e0fe107814acf2f /lib/ctime.pl | |
parent | f398020d62424dd8a766d0d9b78ced4cfea15968 (diff) | |
download | perl-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.pl | 1 |
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. |