Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $i = 0;
    $str =~ s/example/'example_'.++$i/eg;
    print "$str\n";
    
  2. or download this
    This example_1 could be another example_2 where the example_3 is the e
    +xample_4 I wanted