- or download this
#!/usr/local/bin/perl -w
$a = "$$NETOBJ.parameter";
...
$a =~ s/\$\$NETOBJ\.//;
print $a;
- or download this
$a = "$$NETOBJ.parameter";
if ($a =~ s/\$\$NETOBJ\.//) {
...
} else {
print "Substitution failed.\n";
}
- or download this
$a = '$$NETOBJ.parameter';
(undef, $a) = split(/\./, $a, 2);
print $a;