Help for this page

Select Code to Download


  1. or download this
    my @emails = (split(/\s*,\s*/, $email))[0..2];
    
  2. or download this
    my @emails = split(/\s*,\s*/, $email);
    
    ...
    
    # Keep only the first three.
    splice(@emails, 3);
    
  3. or download this
    $email = join(', ', (split(/\s*,\s*/, $email))[0..2]);