Re: hash of arrays

2002-01-16 Thread dolljunkie
- Original Message - From: "Peter Eisengrein" <[EMAIL PROTECTED]> > That just adds a field to my output, like so: > > 7943641|ARRAY(0x1b9efb8)|| > > > Perhaps I'm contructing it wrong? I'm doing it like this... > > @_=$features{$dn}; > push(@_,$line[1]); > $features{$dn}=\@_; >

Re: Win32::API - separate thread

2002-01-12 Thread dolljunkie
Sorry for the delay... I'm not sure if 3rd party DLLs are any different than MS DLLs to Win32::API, assuming it's in your path... But, here's an example of printing out midi device capabilities with Win32::API and Winmm.dll (although, it's pretty straight-forward, once you understand what data s

Re: Format number

2002-01-10 Thread dolljunkie
- Original Message - From: <[EMAIL PROTECTED]> > Yes. > > dolljunkie pointed me to perldoc perllocale. Pretty cool! > Sorry, meant to post that to the whole list, but the reply-to headers got me! =) You can also access the docs online at: http://aspn.activestate.

Re: Regex Help Please!

2002-01-10 Thread dolljunkie
A less elegant (perhaps) solution, but effective, no matter how many rows / values: while(<>) { s/\r//g; # I hate that carriage return chomp; next if(!/^.*<\!--/); # skip non-matching lines my @values; my $ts = $1 if(s/<\!--\s*(.*?)\s*-->//); my($ts1,$ts2) = split(/\s*

Re: API parameters

2002-01-09 Thread dolljunkie
- Original Message - From: "Dunnigan,Jack [Edm]" <[EMAIL PROTECTED]> > So, how can I find out what the constants are? i.e. Where can this > information be found? Did you try MSDN? : http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid =28000546 I'm doing (sort o