Just another Perl shrine | |
PerlMonks |
Re^3: font measurementby zentara (Archbishop) |
on Jan 30, 2012 at 17:58 UTC ( [id://950819]=note: print w/replies, xml ) | Need Help?? |
BrowserUk gave you the preferred answer below, but if you wanted to use my Canvas method, without invoking a window, all you need to do is comment out the line #MainLoop. Then if you run it, it will not show a window.
Either way, you are loading Tk. You can either load Tk::Text or a Tk::Canvas. Tk is relatively light and fast to load. I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|