Use of assignment to $[ is deprecated at /usr/sbin/fcheck line 1366.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fcheck (Debian) |
Fix Released
|
Unknown
|
|||
fcheck (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu precise (development branch)
Release: 12.04
Package: fcheck-2.7.59-17
I upgraded a pretty stock Ubuntu 11.11 to 12.04, and now I'm getting cron emails complaining:
Use of assignment to $[ is deprecated at /usr/sbin/fcheck line 1366.
This is due to new features in Perl 5.12 and is true:
[...]
1357 #######
1358 # $x=&ctime($y); #
1359 # This support routine will return the converted time to human readable format#
1360 # Basically, I'm trying to get away from any functions that may not be in any #
1361 # very minimal PERL distribution. #
1362 #######
1363 sub ctime
1364 {
1365 local($time) = @_;
> 1366 local($[) = 0;
1367 local($sec, $min, $hour, $mday, $mon, $year, $wday);
[...]
Hints:
http://
http://
I'm a little confused as to why it's doing that, since zero-based arrays are the default anyway.
Changed in fcheck (Debian): | |
status: | Unknown → Fix Released |
Changed in fcheck (Ubuntu): | |
status: | Confirmed → Fix Released |
This is already fixed in Debian sid.
Is it too late to request a sync of that package from Sid to Precise?