Re: @INC (SOMEHOW???) changed to E: How to change back to C?

2004-01-19 Thread Stephen Patterson
Michael D. Smith wrote: Somehow, I have no idea how, my @INC directory has been changed to E drive. I have an E drive but perl is not on it, never has been. I use E exclusively for my win2000 backup (.BKF) files. I don't think that info has any bearing whatsoever on the problem but... since I h

RE: Disk Partitioning

2004-01-19 Thread Peter Guzis
I think you may be trying to use the wrong tool in this case. You're better off using RIS or Ghost. Out of curiosity, are your paging and data partitions on separate physical drives? If not, you are obviating the need to split up the two. Windows does a decent job with its paging to begin wi

@INC (SOMEHOW???) changed to E: How to change back to C?

2004-01-19 Thread Michael D. Smith
Somehow, I have no idea how, my @INC directory has been changed to E drive. I have an E drive but perl is not on it, never has been. I use E exclusively for my win2000 backup (.BKF) files. I don't think that info has any bearing whatsoever on the problem but... since I have no idea what's goi

Re: arrays of hashes

2004-01-19 Thread Todd Beverly
Hi. Nick Djurovich wrote: Hi, I'm currently doing something along the lines of this to create arrays of hashes ; my %data; sub filldata { my $type; foreach $type ('Reference','Object') { foreach (1..10) { my %info; GetData( \%info ); push

Re: arrays of hashes

2004-01-19 Thread Barry Dancis
Hi Nick--     For the 10 times through the inner loop the value of $type does not change so you are placing 10 GetData hashes into the same $data{$type} location   Barry - Original Message - From: Nick Djurovich To: Perl-Win32-Users Sent: Monday, January 19, 2004 9:30

Re: Excel color to RGB

2004-01-19 Thread work
> Hello > In Perl, I need to convert a color use by a cell in Excel to a RGB color. > > $indexcolor=$Book->Worksheets("example")->Range("A1")->Characters->Font->ColorIndex; > > > How to convert the $indexcolor (which is a long) to ($r,$g,$b) ? > > Someone know how to do it ? Actually I think

arrays of hashes

2004-01-19 Thread Nick Djurovich
Hi,   I'm currently doing something along the lines of this to create arrays of hashes ;     my %data;   sub filldata {     my $type;       foreach $type ('Reference','Object')     {     foreach (1..10) {     my %info;       GetData( \%info );     p

Excel color to RGB

2004-01-19 Thread taupibule
Hello In Perl, I need to convert a color use by a cell in Excel to a RGB color. $indexcolor=$Book->Worksheets("example")->Range("A1")->Characters->Font->ColorIndex; How to convert the $indexcolor (which is a long) to ($r,$g,$b) ? Someone know how to do it ? Thank you ---

Can't pass WORD value to DLL using Win32::API

2004-01-19 Thread bogdan.kowalczyk
All- Does anybody know how shall I pass WORD value to the Win32 DLL function using Win32:API? I need to call DLL function which I import using its prototype as: Win32::API->Import("adc", "BYTE Init1AnalogOutput(DWORD dw_DriverHandle,WORD w_ChannelNumber,BYTE b_VoltageMode,BYTE b_Polarity)");