my $foo = "fhwgads"; if ( $foo eq "fhwgads" ) { print "fh" . "wg" . "ads"; }