[ic] Payment.pm

Cameron G interchange-users@icdevgroup.org
Tue Jun 3 07:22:01 2003


Let us consider this snippet of code from Payment.pm

        foreach $key (keys %map) {
                $actual{$key} = $vref->{$map{$key}} || $cref->{$key}
                        and next;
                my $secondary = $key;
                next unless $secondary =~ s/^b_//;
                $actual{$key} = $vref->{$map{$secondary}} ||
$cref->{$map{$secondary}};
        }

am i to believe that when creating the %actual hash, it will put the billing
details in in place of the shipping details if the customer has filled them
in?