That seems to be logically inconsistent to me. Are you saying that if padstr had a

code:
 $Return_value = SetOption($a, $b)

within it then it would also set the setoptions in the higher calling routine?
_________________________
Jack