in reply to Re^2: How to detect X?
in thread How to detect X?
In my opinion Tcl::Tk is more Tk than Tk, because first one refers to most recent and up-to-date one.
addition: as long as Tcl::Tk many compatible with Tk, and based on your post, here are two other ways which indeed work:
orperl -MTcl::Tk -we "print Tcl::Tk::tkinit->server"
perl -MTcl::Tk=:perlTk -we "print tkinit->server"
|
|---|