in reply to variable sub function?
Use a hash of subroutine references.
(As side notes, matching equality of a simple integer with a regular expression is, at best over kill. Assigning a single element to a list slice is, until Perl 6, deprecated. Incrementing $count to add elements to an array is usually better spelled push.)
Update: Okay, my analysis ignores the realities of Win32::GUI. Disturbing.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: variable sub function?
by c-era (Curate) on May 30, 2002 at 14:54 UTC |