in reply to How to manage .Xdefaults to be used for Tk on Win32?

Actually my .Xdefaults file *was* processed by perl/Tk even on Win32 (after I placed that file in $HOME), the point was it contained values that did not affected anything I saw.

When I put

*background: yellow
in there, it was obvious my file was processed

And while trying to solve my problem I've discovered an interest way to override .Xdefaults from command line:

perl -MTk -we "MainLoop(tkinit->Button(-text=>'test')->grid)" -- -xrm +*background:red -xrm *foreground:white
and really short GUI program without any punctuation:
perl -MTk -we "MainLoop tkinit"

Best wishes,
I.R.Baboon.