iterating array; useless use of private variable

2007-01-10 Thread John W. Burns
The following code (which I'm sure can be greatly improved) works but generates a warning "useless use of private variable in void context" at two lines. I checked the diagnostic message out in "Perl" but still don't understand why it is flagged. Can anyone explain why the warning message? Th

sorting DBM hash

2006-09-28 Thread John W. Burns
Sorting DBM Hash Greetings: I've run into what appears to be a conflict in sorting a DBM Hash. The DBM is opened and closed through tie and untie to store selections from Perl Tk medical questionnaire which uses checkboxes, radio buttons and lists, and contains over 200 items. I'm attempting

sorting DBM hash

2006-09-28 Thread John W. Burns
Sorting DBM Hash Greetings: I've run into what appears to be a conflict in sorting a DBM Hash. The DBM is opened and closed through tie and untie to store selections from Perl Tk medical questionnaire which uses checkboxes, radio buttons and lists, and contains over 200 items. I'm attempting to

calling subroutine via hash

2006-01-03 Thread John W. Burns
The following code calls only the first subroutine not the second. It seems to recoginize both subroutines but executes only the first one. Can anyone help me figure out how to get the code to call the second subroutine as well? Both subroutines when run as standard routines and not part of a has

Re: not valid win32 app

2005-12-27 Thread John W. Burns
""John W. Burns"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > For some inexplicable reason (at least to me) my windows perl application > has ceased to load. > When I call perl\bin\perl.exe I receive the message "not a valid win32 >

not valid win32 app

2005-12-26 Thread John W. Burns
For some inexplicable reason (at least to me) my windows perl application has ceased to load. When I call perl\bin\perl.exe I receive the message "not a valid win32 application." OS is Windows XP. I have never had this problem in the past. I re-installed Perl from Active State and still receive t

taking references to functions

2005-12-21 Thread John W. Burns
I'm building a diagnostic medical questionnaire using Perl Tk. Need to create a Tk callback process for several hundred sub routines. I've experimented with the following code. It does recognize the two subroutines "foo" and "moo", but calls only the first subroutine "foo"; it does give correct a