in reply to How do I escape a :: in s///?

You are missing a double quote at the end of fifth line:

my $newstring = "sbo::18659:x0929,x1465,x1368,x5552;

should be

my $newstring = "sbo::18659:x0929,x1465,x1368,x5552";