All pastes #51206 Raw Edit

package_string array

public text v1 · immutable
#51206 ·published 2006-04-25 15:43 UTC
rendered paste body
sub save {
.
.
.
  @packages=$query->param('packages') ;
  $line_type=$query->param('line_type') ;
  $active=$query->param('active') || 0 ;
  $did=$query->param('did') ;
  $redirect_did=$query->param('redirect_did') ;
  $redirect_expiry=$query->param('redirect_expiry') ;

  $utils->saveCustomerServiceDetail($id,$account,$note,$street,$city,$province,$postal_code,$country,\@packages,$line_type,$active,$did,$redirect_did,$redirect_expiry) ;

  return detail_picker($self,$errors) ;
}
sub saveCustomerServiceDetail {
  my $self=shift ;
  my $id=shift ;
  my $account=shift ;
  my $note=shift ;
  my $street=shift ;
  my $city=shift ;
  my $province=shift ;
  my $postal_code=shift ;
  my $country=shift ;
  my @packages=shift ;
  my $line_type=shift ;
  my $active=shift ;
  my $did=shift ;
  my $redirect_did=shift ;
  my $redirect_expiry=shift ;

  my $package_string=join " ", @packages ;
  print STDERR "package_string=$package_string\n" ;
.
.
.
}