aboutsummaryrefslogtreecommitdiff
path: root/challenge-001/max-kossek/perl/ch-1.pl
blob: 0214eb5e0b198d8707bc32c257deddc32447b899 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/perl;
use strict;
use warnings;

my $input_string = 'Perl Weekly Challenge';
my $count_e = $input_string =~ s/e/E/g;
print "$input_string - Number of e's replaced: $count_e\n";

__END__