]> wagnertech.de Git - mfinanz.git/blobdiff - SL/MoreCommon.pm
compare_numbers argumente nicht rausshiften
[mfinanz.git] / SL / MoreCommon.pm
index 8f6486135190e51c758ab2e8b1a745bbe709b5bf..ded6ddf3253bd93add278775d1082e12b7d335ee 100644 (file)
@@ -59,10 +59,7 @@ sub restore_form {
 sub compare_numbers {
   $main::lxdebug->enter_sub();
 
-  my $a      = shift;
-  my $a_unit = shift;
-  my $b      = shift;
-  my $b_unit = shift;
+  my ($a, $a_unit, $b, $b_unit) = @_;
 
   $main::all_units ||= AM->retrieve_units(\%main::myconfig, $main::form);
   my $units          = $main::all_units;
@@ -207,8 +204,6 @@ will modify the input arrays.
 As cross expects an array but returns a list it is not directly chainable
 at the moment. This will be corrected in the future.
 
-=back
-
 =item ary_to_hash INDEX_KEY, VALUE_KEY, ARRAY
 
 Returns a hash with the content of ARRAY based on the values of