Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    my $n = 20;
    $txt =~ m/(.{$n})/gs;
    print $1;
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    for (my $i=0; $i<20; $i++) {
        print $a[$i];
    }