Help for this page

Select Code to Download


  1. or download this
    
    use strict;
    ...
    @aTemp = grep{$_ =~ /B.*?y/} @aTemp;
    print join',',@aTemp;
    
  2. or download this
    use strict;
    use warnings;
    my  @aTemp = qw(Fred Betty Barney Wilma);
    @aTemp = grep{$_ !~ /B.*?y/} @aTemp;
    print join',',@aTemp;