Is there a more concise/perfect way of the following:
my @components = split /-/, $original ;
my $final_string = $components[0].”-“.$components[1]; The input is a maximum of 2 strings-the las
Is there a more concise/perfect way of the following:
my @components = split /-/, $original ;
my $final_string = $components[0].”-“.$components[1]; The input is a maximum of 2 strings-the las