samizdat has asked for the wisdom of the Perl Monks concerning the following question:
Here is the offending sub (which was shorter originally):Use of implicit split to @_ is deprecated at ./spiceparam.pl line 665. Use of implicit split to @_ is deprecated at ./spiceparam.pl line 666.
Can someone please explain my offense? TIA!!! :Dsub by_value_length { my $sa = split(//,$vartable{$a}); my $sb = split(//,$vartable{$b}); ($sa <=> $sb) || ($vartable{$a} cmp $vartable{$b}) || ($a cmp $b); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Implicit split to @_
by tlm (Prior) on Apr 14, 2005 at 16:28 UTC | |
by samizdat (Vicar) on Apr 14, 2005 at 16:39 UTC | |
|
Re: Implicit split to @_
by crashtest (Curate) on Apr 14, 2005 at 16:36 UTC | |
|
Re: Implicit split to @_
by gellyfish (Monsignor) on Apr 14, 2005 at 16:47 UTC | |
by ysth (Canon) on Apr 14, 2005 at 22:30 UTC | |
by gellyfish (Monsignor) on Apr 15, 2005 at 10:12 UTC | |
by Anonymous Monk on Apr 15, 2005 at 15:12 UTC | |
|
Re: Implicit split to @_
by Jaap (Curate) on Apr 14, 2005 at 16:29 UTC |