As far I know, the my operator is to declare variables that are truly lexically scoped and dynamic scoping is done using the local operator to decl
my
local
MJD explained this in 1998:
my creates a local variable. local doesn't.