multi-page from Tk::Canvas

2008-11-05 Thread Cort Morgan
Hi,   I am trying to print a canvas using the postscript method, but it's a really big canvas (not too wide, just high / long), and always comes out scaled to a single page. Any easy way to get the postscript method to make it a multi-page document, or should I just start hacking the

what's wrong with this mega-widget?

2008-08-08 Thread Cort Morgan
Hi,   I'm trying to (learn how to) create a mega-widget in Perl/Tk and am hacking some examples from Mastering Perl/Tk. I apparently do not understand how to use ConfigSpecs. I'm trying to be able to pass arguments to the widget constructor and define default values if the arguments are not

stat and timing out on SIGALRM

2008-03-13 Thread Cort Morgan
Hi, I'm trying to check a list of filenames to see if they actually exist. A problem arises if the file is located on a known server but cannot be contacted (ping times out). It seems that perl doesn't timeout, but waits for the stat call to return. My code is based on code taken from the

debugger questions

2008-02-01 Thread Cort Morgan
Hi, Can anyone tell me is it possible to look at the current value of a variable in a package method, if the package was included in the main program with a use statement? I've read perldebug, perldebugtut, perldebguts, any web links I can find, and all no help (or I just don't understand