Re: [perl-win32-gui-users] wrappers revisited

2005-02-22 Thread Ariel Serbin
--- Johan Lindstrom <[EMAIL PROTECTED]> wrote: > Have you considered subclassing Win32::GUI::ListView > and just add the > ability to specify an optional -id when adding an > Item? This would have the As someone who has come to rely pretty heavily on Win32::GUI, I did think about subclassing/mod

Re: [perl-win32-gui-users] wrappers revisited

2005-02-22 Thread Johan Lindstrom
At 22:42 2005-02-22, Ariel Serbin wrote: I started writing this, I used the hashref-of-hashrefs idea like DBI returns from fetchall_hashref() because it seemed like a good way of matching name/value pairs up with their respective ids. The problem with this Good work! I wrote a few comments on

[perl-win32-gui-users] wrappers revisited

2005-02-22 Thread Ariel Serbin
I've been toying with the listview wrapper idea that I brought up last week. I threw together a module to show off the basic idea, though it needs to be reworked. I wanted to make it easy to set up a listview and keep track of the items by some id. When I started writing this, I used the hashref

Re: [perl-win32-gui-users] RegEx

2005-02-22 Thread Lee Goddard
I don't think it can be done in a single re for a variable-length string, because you're looking for two different things, one being the individual components, and one being a split. I think if you run Benchmark over two split statements, you'll find an insignificant speed difference over any r