perl substitution

# Syntax:
$variable =~ s/old_value/new_value/;

# Example:
my $string = "Hello, world!";
$string =~ s/world/Perl/;
print $string;  # Output: Hello, Perl!