in reply to Re^2: use of $sub
in thread use of $sub

smdr is inside a quoted string of text. You have to ask the original author what he meant by smdr.

not get the warning?
Like I said, you need to assign a value to $SUB, or just delete the variable if you don't need it.