Tk:chooseDirectory hangs up?

2005-09-14 Thread Hugh Loebner
Hello All, Consider the following small program which captures a keypress and writes it. -- # This program hangs up for some reason $\ = "\n" ; # eliminates need for \n at end of print line use strict ; use Tk ; my

Re: Variable reference

2005-07-27 Thread Hugh Loebner
How about: $database_name = "Greg"; $text = "database_name"; $value = "\$" . $text; eval "print $value" ; This worked for me Hugh Loebner On 7/27/05, Brian Raven <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] > [mailto:[EMAIL

Why is this a problem?

2005-07-01 Thread Hugh Loebner
    open  ( $fh{$fhkey}, ">$fhkey" )  ;    }                 foreach my $fhkey ( keys %fh ){     print { $fh{$fhkey} }  "xxx $fhkey xxx \n" ;    # note file handle $fh{$fhkey} has to be in a block    } ; foreach my $fhkey ( keys %fh ){    

Thanks to all - Re: Finding current directory

2005-06-27 Thread Hugh Loebner
My thanks to all for their prompt and very helpful replies. Hugh LoebnerOn 6/27/05, Hugh Loebner <[EMAIL PROTECTED]> wrote: Hello all, How do I get the path name of the current directory? In other words, how can I find out the name of the folder in which a program is executing? Thanks,

Finding current directory

2005-06-27 Thread Hugh Loebner
Hello all, How do I get the path name of the current directory? In other words, how can I find out the name of the folder in which a program is executing? Thanks, Hugh ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: htt

Crypt::SSLea

2005-06-03 Thread Hugh Loebner
the script - same error. Is there a simple way to install SSLeay so that I can access https sites? Thanks in advance Hugh Loebner ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Problem with perlapp / loading Tk module

2004-04-22 Thread Hugh Loebner
Have you tried tying the listbox to an array and filling the array? my @lbarray ; tie @lbarray, "Tk::Listbox", $listbox_widget ; I use this and it works reasonably well. I use the same listbox to display to two arrays, say @a and @b by simply setting @lbarray to either as desired. if($desired