Re: Win Registry Hardware status?

2006-06-16 Thread Petr Vileta
- Original Message - From: "Howard Tanner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, June 16, 2006 8:06 PM Subject: Re: Win Registry Hardware status? This is really a job for WMI. Search the ActiveState Perl lists and you'll come up with plenty of examples. I espec

Re: XML::Simple, hashes and arrays...

2006-06-16 Thread Williamawalters
hi adym --     In a message dated 6/16/2006 4:18:42 P.M. Eastern Standard Time, [EMAIL PROTECTED] writes:   > my $ltheEntry;> foreach $ltheEntry ($ltheConfig->{'notifications'}->{'email-addr'}) {> printf $ltheEntry;> printf $ltheEntry->{content}.":".$ltheEntry->{type};> }   $ltheC

XML::Simple, hashes and arrays...

2006-06-16 Thread Lincoln, Adym
Hi all, I've been trying to iterate thru an array of elements that's buried within a larger Hash. The Hash was created from XML::Simple and using Data Dumper it produces the following output: $VAR1 = { 'directories' => { 'directory' => { 'inbound' => {

RE: Win Registry Hardware status?

2006-06-16 Thread Erich Singer
You can use "scriptomatic" from Microsoft to get WMI Perl scripts From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Howard TannerSent: Friday, June 16, 2006 2:06 PMTo: [EMAIL PROTECTED]Cc: activeperl@listserv.ActiveState.comSubject: Re: Win Registry Hardware status? This is

auto-detecting file encoding

2006-06-16 Thread
Hello: I need to process the text of thousands of files automatically, with simple regexp substitutions. The problem I have is that, although all files are plaintext, they have been written with a variety of programs in Windows, so they employ diverse encodings. For example, some are in 'ut

Re: Win Registry Hardware status?

2006-06-16 Thread Howard Tanner
This is really a job for WMI. Search the ActiveState Perl lists and you'll come up with plenty of examples. I especially like $Bill's examples, but that's just me. (Thanks, $Bill!) Microsoft's reference documentation for WMI starts here: http://msdn.microsoft.com/library/default.asp?url=""> They

ANNOUNCE: Beta of PPM version 4 released

2006-06-16 Thread Jan Dubois
I'm happy to announce that a beta version of the new PPM4 client has been released as part of ActivePerl 5.8.8.817.90 (the long build number really means it is the first beta of the 818 release). You can download the beta here: http://www.activestate.com/Products/Download/Download.plex?id=Acti

RE: Testing Columns with DBI

2006-06-16 Thread Ken Barker
It would depend upon the databse type you are accessing.  For SQL2000 there is a table called INFORMATION_SCHEMA_COLUMNS that would work and I am sure there are tables like this for other database types.  From what I recall of oracle - there is a table called user_tables that may be of u

RE: Testing Columns with DBI

2006-06-16 Thread Daniel Rychlik
I found it finally…  It sometimes works that way.    From: Daniel Rychlik Sent: Friday, June 16, 2006 10:12 AM To: activeperl@listserv.ActiveState.com Subject: Testing Columns with DBI   Morning guys,   How would one test for the presence of a column in a database effectiv

Testing Columns with DBI

2006-06-16 Thread Daniel Rychlik
Morning guys,   How would one test for the presence of a column in a database effectively?  I am unable to find any one method to do this…   -Dan ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://list