in reply to Need help with s///

Actually, I tried your example and got the following:
Global symbol "$NETOBJ" requires explicit package name at F:\reg.pl li +ne 7. Execution of F:\reg.pl aborted due to compilation errors.
It seems as though it was trying to interpolate the variable in the double quoted string. Once I replaced the "s with 's , the program ran and gave the following output:
parameter
Here's the change:
$a = '$$NETOBJ.parameter';
Mick