Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    while($string =~/./g){
        print "$&\n";
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    for my $str (@string){
        print "$str\n";
    }