aboutsummaryrefslogtreecommitdiff
path: root/challenge-001/deadmarshal/perl/ch-1.pl
blob: 4e1344489980f84670ccc700dbf6583775457499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/local/bin/perl
use strict;
use warnings;
use feature 'say';


my $string = "Perl weekly challenge";

my $count = $string =~ s/e/E/g;

print $string, "\n";
print $count, "\n";