Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    }
    substr $line, $pos[rand(@pos)], 3, 'man';
    print "$line\n";
    
  2. or download this
    #!/usr/bin/perl -wl
    use strict;
    ...
    push @pos, pos() - 3 while /boy/g;
    substr $_, $pos[rand @pos], 3, 'man';
    print;