Help for this page

Select Code to Download


  1. or download this
    foreach my $entry ( split( /;/, $file_data ) ) {
      do { s/^\s+//; s/\s+$//; } for $entry;
      push @email_list, $entry;
    }
    
  2. or download this
    print join( "\n", sort map { (my $t=$_)=~s/^\s+//;$t=~s/\s+$//;$t } sp
    +lit( /;/, $file_data ) ), "\n";
    
  3. or download this
    my @email_list = sort map ... split( /;/, $file_data );
    print join( "\n", @email_list ), "\n";