RE: lame question "\\\\.\\pipe\\pipename" vs '\\.\pipe\pipename'

2010-10-20 Thread Steve Howard
There's a pretty good explanation of it here: http://en.wikibooks.org/wiki/Perl_Programming/Strings Specifically this part: * The sequence \' yields the character ' in the actual string. (This is the exception we already discussed above). * The sequence \\ yields the character \ in the

RE: Determining if a file is open

2010-02-18 Thread Steve Howard (PFE)
Excuse me for being in a rush and not having time to develop a sample, but I think what you want to do can be determined using WMI, in the CIM_Datafile class, there is a property named InUseCount: http://msdn.microsoft.com/en-us/library/aa387236(VS.85).aspx http://www.slideshare.net/ddn123456/w

LWP Help

2009-06-17 Thread steve silvers
I have my below snippet that when I run it from my website, it returns the query to Yahoo, but all the links are screwed up? How do I fix this? Also how can I add multiple searches to this for one call. Thanks in advance. #!/usr/bin/perl use LWP::UserAgent; print "Content-type: text/html\n\

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Steve Howard (PFE)
Just piggybacking on this a little bit with one more option, if you don't mind using a windows command, there is a utility in Windows 2003 and higher, and in Windows Vista and higher, and downloadable for lower versions named 'Robocopy'. It's very good for unreliable connections or high latency

RE: [OT] Having multiple x64 compilers on Windows Vista 64

2009-05-28 Thread Steve Hay
Sisyphus wrote on 2009-05-28: > Hi, I currently have the "Microsoft Platform SDK for Windows Server 2003 > R2" compiler. I would like to also install "Windows SDK for Windows > Server 2008 and .NET Framework 3.5" from > http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F- > 4207-

LWP Help please

2009-05-17 Thread steve silvers
I have looked over the LWP documentation but still have trouble putting the pieces together. Can someone give me a snippet that shows me how to query google for something, "and display the results". The examples only show how to match on something and just print that out. How do I display the

How to query a website via Perl

2009-05-12 Thread steve silvers
Can someone please so me how to query a website remotely via cgi. Something like http://somesite/query=$var Then return the results. Thanks in advance _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?oc

RE: New to Perl and stuck

2009-03-03 Thread Steve Howard (PFE)
from your description like you were looking for what opendir does. To get an explanation, do this: perldoc -f opendir See if that gets you started. Ask back if you need more specifics. Steve Howard -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl

RE: Commaring Two dates or month

2009-02-26 Thread Steve Howard (PFE)
ays\n"; Hope this helps. Steve From: Perl Perl [mailto:perl.solut...@gmail.com] Sent: Wednesday, February 25, 2009 5:52 PM To: Steve Howard (PFE) Cc: perl-win32-users@listserv.activestate.com Subject: Re: Commaring Two dates or month Thanks a lot Steve, I tried using y to use Date::Calc

RE: Commaring Two dates or month

2009-02-24 Thread Steve Howard (PFE)
Just a suggestion Why not use the Date::Calc package and use the Delta_Days function? I used to use that all the time for things like what I understand you to want to do. There are a lot of great date functions built into that package that save a lot of time in development. Steve From: perl

RE: Reading hash arrays in the order it was written

2008-11-19 Thread Steve Howard (PFE)
Not inherent in the hash. You could store the ordinal value as one of the values in a hash of arrays, and then sort on that when you retrieve the values, but there is really no way to guarantee the order in which it will be retrieved from the hash is the same order in which it was inserted. To p

RE: Win32::Lanman and Perl 5.10

2008-08-21 Thread Steve Hay
se it under the Artistic License, and would change the licence paragraph in the next release, but there never was another release--the latest one that I've seen was January 2003. I haven't had any further contact with him. Steve From: [EMAIL PRO

RE: WIN32::OLE help

2008-08-14 Thread Steve Howard (PFE)
rather than the literal values. See if this helps. Steve From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neson Maxmelbin (RBEI/EMT4) Sent: Thursday, August 14, 2008 4:30 AM To: perl-win32-users@listserv.ActiveState.com Subject: WIN32::OLE help Hello , I am using WIn32::OLE

RE: trouble accessing fully qualified $main::variable contents

2008-07-07 Thread Steve Howard (PFE)
Use "our" instead of "my" our $var = "value"; Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Aiken Sent: Monday, July 07, 2008 5:01 PM To: perl-win32-users@listserv.ActiveState.com Subject: trouble accessing f

RE: rsync for Win32

2008-03-11 Thread Steve Hay
Sisyphus wrote: > Hi, > On the face of it, the topic of this post has little (if anything) to > do with perl. > > But, afaict from 'perldoc perlhack', if I want to stay in touch with > the current perl developments I need to be able to download the > latest source by running: > > rsync -avz rsync

RE: reading the Network Interface Card(NIC) name

2007-08-27 Thread Steve Howard (PFE)
You can access WMI via Perl pretty much the same way you would any other automation object. I haven't used it to enumerate the NICs the way you want to do, but a quick and dirty example of using WMI in Perl is one I wrote to enumerate drives. You can probably use the windows scripting help to fi

RE: a simple program

2007-08-08 Thread Steve Howard (PFE)
I'm having a little trouble understanding the question. Are you expecting Perl to compile into an executable program like C would do? If so, Perl doesn't do that. Perl is an interpreted language, and compiles when called, then executes. The script is loaded by the interpreter, and must have the

What changes do I have to make?

2007-02-21 Thread Steve Horn
What changes do I have to make on this Unix perl source code to make it run on Windows TIA Steve #!/usr/bin/perl -w # Salter single-threaded email address salter # (c) 2003-2007 Julian Haight, http://www.julianhaight.com/ # All Rights Reserved under GPL:http

Re: modify @INC

2006-04-13 Thread Steve Green
Adam Peterson wrote: > > how can i modify @INC to look in the right location. i've attempted to explicity list where the module is located, but i've had no luck. > use lib LIST Where LIST is a list of the directories you want to search. The pathnames should be unix-style with forward slashes,

List Installed Font Names?

2006-03-13 Thread Steve Green
Can anyone suggest a way to make a list of the names of the fonts installed on a Windows system? -- Thanks ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

OT: Out of office (Re: Jack Roth is out of the office...)

2005-12-28 Thread Steve Dawson
dn't run the story but we did retain the emails. Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Find url documents and cunt them - Help please

2005-12-12 Thread Steve Dawson
steve silvers wrote: I'm using DBI, and searching about 300,000 text fields in my database. What I need to do is grab all instances of a url that leads to documents. Such as http://docs/docs1/help/com3324.html http://docs/docs1/help/com3444.htm So on I need to grab just the name o

Find url documents and cunt them - Help please

2005-12-09 Thread steve silvers
t out how many times each one was found. Such as. com3324.html - 334 times com3444.htm - 543 times I'm starting with if($file =~ /\.htm[l]{0,1}$/ig) { } Any help greatly appreciated. Thanks in advance Steve ___ Perl-Win32-Users mailing

Re: Doubt

2005-11-09 Thread Steve Dawson
Rajesh Vattem wrote: Hi, I am trying to read and write to a file with a single file handle operation. Could you please suggest a change in the below script so that it will change one line of a file based on the pattern compared with (Presently, the script doesn't work properly because I don't del

Re: filename sorting by last letter in the filename

2005-10-12 Thread Steve Dawson
g to dial down the aggravation from a very long day in the salt mine. Salt mine beckons... :-) Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: filename sorting by last letter in the filename

2005-10-12 Thread Steve Dawson
hange when they update the file? Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: filename sorting by last letter in the filename

2005-10-11 Thread Steve Dawson
on't have the gap problem with a shorter list and your two halves solution. BTW, thanks for the problem, I'm keeping a stack of really odd problems like this to use when we interview programmers for projects. It's good to see how they approach problems that are more unusual than

Re: filename sorting by last letter in the filename

2005-10-11 Thread Steve Dawson
ugh. Maybe I'm just superficial :-) Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: filename sorting by last letter in the filename

2005-10-11 Thread Steve Dawson
Allegakoen, Justin Devanandan wrote: -8<- #build an array of our alphabet @halfabet = qw/a b c d e f g h i j k l m n o p r s t u v z/; -8<- my @halfabet; push @halfabet, $_ for 'a'..'z'; Nicer, and compiles under strict and warnings which St

Re: filename sorting by last letter in the filename

2005-10-11 Thread Steve Dawson
e's how I think you can solve the problem right up to the holes in the sequence... Cheers Steve #!/usr/local/bin/perl @files_b = qw/ file2s.ext file2a.ext file2t.ext file2b.ext file2.ext file2u.ext file2v.ext file2c.ext file2z.ext/; #build an array of our alphabe

Re: regenerating AS perl html docs

2005-10-07 Thread Steve Dawson
under Firefox. Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Photo EXIF information ????

2005-06-12 Thread Steve Green
Charles Maier wrote: Has anyone figured out how to decode the EXIF photo info coded in the image by the camera??? I've had good results with Image::ExifTool available from CPAN or PPM. Steve Green ___ Perl-Win32-Users mailing list Perl-Win32-

Re: Reg Exp - Extracting html files

2005-06-02 Thread steve silvers
//; print $filename; Obviously this returns "test2.jar". How can I have this return all of them, there could be one file there could be multilpe? Thank you, Steve From: "$Bill Luebkert" <[EMAIL PROTECTED]> To: steve silvers <[EMAIL PROTECTED]> CC: perl-win32-

Reg Exp - Extracting html files

2005-06-01 Thread steve silvers
e.htm etc.. any help greatly appreciated. Thanks in advance Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: How secure is Perl FTP function

2005-05-23 Thread Steve Keith
Yes, you should consider anything that you put into the EXE file as not secure. Also, I believe any Net::FTP session sends the info in clear text. If you need to be secure, then you should use SSH instead of Net::FTP Steve >$ftp = Net::FTP->new("$ftp_server_name", De

RE: Perl and Images

2005-05-18 Thread steve silvers
Is there really no easier way to do this? All I need is to point it to a directory, this directory will have just .html files in it. Then just render a image or images to the browser of what each .html file looks like. Thanks in advance Steve From: "Chris Snyder" <[EMAIL PROTECTED]

Perl and Images

2005-05-17 Thread steve silvers
Quick question. Is there a way that I can go into a directory with a static html file in it and create a thumbnail image of the html file? Any suggestions or examples greatly appreciated. Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users

Perl and MAPI

2005-04-18 Thread steve silvers
Does anyone know how I can use perl to specify an outlook profile, and query the address book. Get a list of all names. Thanks in advance Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http

Win32::AdminMisc Help Please

2005-03-23 Thread steve silvers
. How can I set this to say time out after a minute and continue on with the next server? @Geometry = Win32::AdminMisc::GetDriveGeometry("//$server/$disks\$/"); Something like @Geometry = Win32::AdminMisc::GetDriveGeometry("//$server/$disks\$/") || &senderror();

Extracting urls

2005-02-25 Thread steve silvers
23.html etc... Any help greatly appreciated Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

How can I do this?

2005-02-17 Thread steve silvers
? Then I can deliver them only the links they need. I'm certain that this would be a major security concern, and the lack of permission the browser has. Thanks in advance Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveStat

Reading documents problem

2005-02-17 Thread steve silvers
nt is: File1name.html this is 100 characters File2name.html this is 100 characters... so on... Any help greatly appreciated Steve #!/Perl -w use strict; use vars qw($file); opendir(D, "//comp/c\$/Docs"); while ( $file = readdir(D) ) { if($file =~ /.html/ig) { open(

Regular Expression Help Please

2005-02-08 Thread steve silvers
Every one is the same format, MAPI:{Smith, Jane}EX:/o=Company/ou=Site/cn=Recipients/cn=LJSmith Any help greatly appreciated. Thanks in advance Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubsc

Win32 inserting URLs into excel sheet

2005-01-11 Thread steve
sheet, manually place the cursor at the end of the URL and hit return, it is recognized as a URL.  So I guess there is some process I need to trigger or some property I need to set to make Excell to recognize the entry as a link.  Does anyone know?   T

RE: Probably need help with a hash to do this

2004-11-10 Thread steve silvers
Sorry, you were right. What threw me off was you adding all the 99's to the end of each row.. Thank you for the help, this will get me started. Steve From: "Thomas, Mark - BLS CTR" <[EMAIL PROTECTED]> To: 'steve silvers' <[EMAIL PROTECTED]> CC: [EMAIL PROTE

RE: Probably need help with a hash to do this

2004-11-10 Thread steve silvers
e looking to find the same numbers "pattern" in X amount of rows of data. I hope that helps out a bit. It's hard to explain. Thank you in advance Steve From: "Thomas, Mark - BLS CTR" <[EMAIL PROTECTED]> To: 'steve silvers' <[EMAIL PROTECTED]>,[E

Probably need help with a hash to do this

2004-11-10 Thread steve silvers
he above 7 lines. As an example; say I only have two lines in my text file. 01|02|03|04|05 01|03|05|33|36 The output needs to say that the above found 01,03,05 in the two sets of numbers. Does this make sense? I'm sure this is pretty easy for someone who know hashes real good. } Any help

Re: Perl-Win32-Users Digest, Vol 9, Issue 24

2004-10-25 Thread Steve Keith
sh If you need more information, please let me know. Steve ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Using Reg Expression in LWP

2004-05-13 Thread steve silvers
e with the static time it works great. But it seems like this variable in this block is not incapsulated, and probably just searches on the literal "$Time" text. How can I fix this? Thanks in advance Steve From: "Charles K. Clarkson" <[EMAIL PROTECTED]> To: "'

Using Reg Expression in LWP

2004-05-12 Thread steve silvers
>is_success; $all =~ /<\/td>$Time<\/font><\/td>([\d\d\d]+)<\/font>/s; my $page = "$1"; The above works great when I have $Time put in static as Mon. January 01, 2004 or whatever date. But when I set $Time = blabla and put the variable $Time in the ab

LWP and Regular Expression

2004-05-07 Thread steve silvers
de of the page. How do I grab out data. As an example say I'm grabbing the Google home page. How would I grab out the bottom "©2004 Google - Searching 4,285,199,774 web pages" text? This is just an example to get me started. Thanks in advance Steve __

Win32::Exchange question

2004-05-05 Thread steve silvers
Will this module allow me to do this? Thanks in advance Steve _ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/ ___ Perl-

Win32::AdminMisc Anomaly

2004-02-03 Thread steve silvers
s. I took this small snippet and compiled it with perlapp --verbose script.pl and copied the .exe to many different servers, and it will not work on 2000? I also copied it to another 2000 server with the exact same version of Perl in

Compare hash and scalar or array

2004-01-26 Thread steve silvers
; '197*;' ); # Using Win32::TieRegistry I'm getting the data from the key as: $ReadSettings = "122*;app*;197*;"; foreach $key (values %exceptions) { foreach $val (@ReadSettings) { if ($key eq $val) {

Perl and Crystal Reports

2004-01-26 Thread steve silvers
HTML format and placed in a directory. Has anyone done this or have a suggestion as how to do this. Thanks in advance Steve _ Get a FREE online virus check for your PC here, from McAfee. http://clinic.mcafee.com/clinic/ibuy

RE: Capturing the output of a sytem() command

2003-10-06 Thread Morgan, Steve H.
Title: Capturing the output of a sytem() command You can do something like this.   $results = `$command 2>&1`;   This will redirect STDERR to STDOUT which is returned to $results.   Hope this helps.   -Original Message- From: George Gallen [mailto:[EMAIL PROTECTED] Sent: M

RE: Win32::TieRegistry question

2003-10-01 Thread steve silvers
The samething.. ARRAY(0x183f058) From: Tobias Hoellrich <[EMAIL PROTECTED]> To: "'steve silvers'" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: RE: Win32::TieRegistry question Date: Wed, 01 Oct 2003 10:28:10 -0600 And what happens if you say: $DNS->{&#x

Win32::TieRegistry question

2003-10-01 Thread steve silvers
} The problem is on the insert. This is a "REG_SZ" field, but after I run my script the setting reads ARRAY(0x183f058) and should read something like 111.11.11.111 222.22.22.222 in the NameServer key. Any suggestions. Thanks in advance Steve _

RE: Process Interaction

2003-09-24 Thread Buck, Steve
Title: RE: Process Interaction Greg, GroundGontrol looks pretty cool, I'll log that one for later, but for now I'm not testing a telnet session, it's an app running locally in a command window. Steve -Original Message- From: Greg Wardawy [mailto:[EMAIL PROTECTED]

Process Interaction

2003-09-23 Thread Buck, Steve
ns of mailing lists and web sites, the Process module, the Console module, the GuiTest module, plus many testing modules and I don't think I'm looking in the right place. This must be a common task. Steve Buck [EMAIL PROTECTED]

Help with better way to do this

2003-08-27 Thread steve silvers
#count 04-04-04 #count $numbers and $numbers2 05- # and so on.. 06- 07- 08- 09-09- 10- 11-11 12- 13- 14- 15-15-15 16-16-16 17- 18- .. 80 Any help greatly appreciated Thanks in advance. Steve _

Help with snippet

2003-08-20 Thread steve silvers
7 #Duplicate? 67 - 67 Why is this happening? Any help greatly appreciated. Thanks in advance. Steve _ Get MSN 8 and help protect your children with advanced parental controls. http://join.msn.com/?page=features/parental __

RE: What is wrong with this?

2003-08-14 Thread steve silvers
ok,ok,ok, I had a major brain fart this morning.. Thank you though for all the responses on this.. Steve From: "Stewart, Tom" <[EMAIL PROTECTED]> To: "'steve silvers'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: What is wrong with this? Date

Re: Character Class Question

2003-08-04 Thread steve silvers
will print - "FULL - HH HALF - HH" Why? And how do I make it so it only picks up on the half days in this case? Steve Now $a is passed from a select box so it's either HH (Half Holiday) or HV (Half Vacation).. If I use HH it will work, but when I use HV it still uses HH. Al

time function!?

2003-07-30 Thread Steve Keith
Hi - If you need speed, I'd use Date::Calc instead. It is written in C so it should be much faster than Date::Manip Steve > Message: 8 > Date: Tue, 29 Jul 2003 19:14:42 -0400 > From: michael higgins <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > CC: [EMAIL PROT

Re: dynamic reports

2003-07-30 Thread steve silvers
Crystal Reports.. From: Lori <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: dynamic reports Date: Tue, 29 Jul 2003 17:07:21 -0700 I have lots of experience creating web pages that get data from a dbase - and lots creating reports with diff. software, but none that create a dynamic report tha

DBI Question

2003-07-23 Thread steve silvers
you still have to go through a loop and count all occurences of the searched criteria? If so then you can't use a count in the select as you just count in the loop. Can someone enlighten me on this. Thanks in advance. Steve _

Convert Military Time

2003-07-16 Thread steve silvers
- how can I display it back as normal time.. ie "8:00 AM" and "5:00 PM"? Any help greatly appreciated. Steve _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* htt

Get time and date for 2 weeks at a time

2003-07-15 Thread steve silvers
advance Steve _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http

(OT) Catchall DNS?

2003-03-19 Thread Steve Karr
Any clues on how to accomplish this like the domain registrars? Thanks! - Steve (RedHat 7.2 & Apache & Bind 9 - fyi) ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

HTTP-Request-Common not working

2003-03-12 Thread Steve
27;t locate object method "new" via package "LWP::UserAgent" (perhaps you forgot to load "LWP::UserAgent"?) at test.pl line 2. I could swear I have used this same code before without problems.  What am I doing wrong?   Thanks   Steve

HTML::Mason and mod perl on windows

2003-03-07 Thread steve silvers
Does anyone know where I can find some good "useable" documentation on setting up HTML::Mason and mod perl on windows with Apache? I installed both via ppm and that went good, but im having trouble adding the needed lines to the httpd.conf file.. and so on.. Thanks in adva

Case insensitive search help

2003-02-18 Thread steve silvers
es anyone kown how to work around this case sensitive prolem. Thanks in advance. Steve _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _

Importing Win32 Symbolic Constants

2003-02-15 Thread Steve
.  However the only docs I can find about importing symbolic constants are in Win32::OLE which I don't think applies here, probably.  Can anyone tell me how to do it?   tia...   Steve      

blanks from hell!

2003-02-15 Thread Steve
filelist before starting these calls?   tiaSteve    

RE: Search a free Perl debugger

2003-02-04 Thread Steve Keith
Here, Here - Say, that WAS great - let me add my thanks, too - this will come in handy as both a debugging AND a learning tool. Steve > From: "Norris, Joseph" <[EMAIL PROTECTED]> > To: "'Tillman, James'" <[EMAIL PROTECTED]>, > "'

sprintf formating float question

2003-01-28 Thread steve silvers
I'm trying to get a percent that's say 80% to the true size of 80.23% im using something like: $percent = 8023; $percent = sprintf( "%.2f", $percent); This will give me 80 but I need it to round to 80.12 or so on. Any suggestions greatl

RE: Win32::AdminMisc

2003-01-06 Thread steve silvers
I have checked this out. But still not working. If I use @Geometry = Win32::AdminMisc::GetDriveGeometry("c:\"); this will work. but @Geometry = Win32::AdminMisc::GetDriveGeometry("\\server\c$"); and many different variations don't work! any suggestions. Thanks in a

strage slowdown

2002-12-16 Thread Steve
s in 9:08.  Approach 2 (new) runs same files in 15:16 :-(   Anyone know why aproach 2 could be going slower?   Steve   approach 1 psuudocode:   get a list of files called filelistfor x (1..n) { read and parse filelist[x] store key/value pairs in workarray for y (0..n-1) {  zero-out hashofarrays  f

Re: Win32::OLE writing to excel.

2002-12-14 Thread Steve
set + 1), ($loop + 24)) -> {Value} = ("some > text"); > The Value property needs to be quoted. Also, why do you have the right-side expression in parens in each case? Here is a known-good call to the cells function: $resultsheet->Cells($row,$col)->{'Value'

Re: DNS and WINS question

2002-12-12 Thread steve silvers
use the Win32::TieRegistry module. This works great for this.. Steve From: "Hawley, Eric" <[EMAIL PROTECTED]> To: "Perl-Win32 \(E-mail\)" <[EMAIL PROTECTED]> Subject: DNS and WINS question Date: Thu, 12 Dec 2002 14:45:20 -0500 Would I want to do is to conne

Couple of probs with Win32::Fileops BrowseForFolder

2002-12-06 Thread Steve
RL.  Is the function returning some kind of a blank that's not really a blank, or something?   TIA...   Steve

Re: Preventing IE close

2002-11-28 Thread Steve
erl complains that I haven't given global variable $windowref an explicit package name (running under use strict). - Original Message - From: Thomas Drugeon To: Thomas Drugeon ; Steve ; [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 2:00 AM Subject

Re: web form editor

2002-11-11 Thread steve silvers
I know what your talking about. Cold Fusion does this really nicely with a bold and underline, italics, ect interface... But I don't think that perl has a module to do this. If your looking to send "html" email use the Mime::Lite module. From: George Harris <[EMAIL PROTECTED]> To: [EMAIL PROTE

Win32::TieRegistry Question

2002-11-05 Thread steve silvers
the primary and secondary ip addressed. In the registry when I run the above I does put in the addresses but with garble around them... What's wrong with the above. Steve. _ Broadband? Dial-up? Get reliable MSN Interne

Updating wins problem

2002-10-31 Thread steve silvers
) line 185. Prototype mismatch: sub main::SACL_SECURITY_INFORMATION () vs none at (eval 1) l ine 186. Constant subroutine SACL_SECURITY_INFORMATION redefined at (eval 1) line 186. END ERRORS Any suggestions greatly appreciated. Steve #!/Perl -w # To update a local machine, enter. # c

Where are older builds of perl?

2002-10-30 Thread steve silvers
I've been surfing the bit unfriendly site of activestate. I can only find the new version 633 for download. Where can I get older versions.. ie: 626 ... 522 Thanks in advance. Steve _ Unlimited Internet access for only $

RE: Extracting Common Dates

2002-10-21 Thread steve silvers
Thank you for the help on this. The below snippet will output 2 dates, but is there a way to set a parameter to select more than 2. Such as 4 or 6 or more. Thanks in advance. Steve From: Peter Guzis <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: Extracting Common Dates Date: S

Extracting Common Dates

2002-10-20 Thread steve silvers
} How can I read in a few years worth (on the same text file) and find the dates that appear the most together. Any help greatly appreciated. Thanks in advance Steve _ Get a speedy connection with MSN Broadband.  Join now

RE: XL 2 CSV (Unicode 8)

2002-10-04 Thread Steve Combs
; $v=~s/"/""/g; $v="\"$v\"" if $v=~/[",]/; $CSV_Text_Data.=$v; } } $CSV_Text_Data.="\n"; } $Response->write("$CSV_Text_Data\n"); --Steve ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Read list of servers from a file???

2002-09-17 Thread Doherty, Steve
use vars qw/*name *dir *prune/; *name = *File::Find::name; *dir= *File::Find::dir; *prune = *File::Find::prune; # Traverse desired filesystems File::Find::find({wanted => \&wanted}, 'NTSERVER /c$'); exit; sub wanted { print "

Help With WIN32::API

2002-09-06 Thread Morgan, Steve H.
I am trying out Microsoft's new api set to accessing Terminal Server Information. I want to be able to get a list of the current sessions on remote terminal server boxes. Can anyone help me? I keep getting an overlapped IO error when running this code. I am new to the Win32::API. Here is what I h

Oracle SQL Statement help

2002-08-29 Thread steve silvers
date is. I have tried something like. SELECT DATEDIFF(DATE_OF_BIRTH,SYSDATE) ... But no luck. Does anyone know how to do this against Oracle? Thanks in advance. Steve. _ Join the world’s largest e-mail service with MSN

Hard coded replacement for Win32::OLE::Variant VT_BOOL?

2002-08-28 Thread Steve Combs
ll of Win32::OLE::Variant, it seems I should be able to just define and use constants containing the correct bit patterns for (VT_BOOL,0) and (VT_BOOL,1). Thanks, --Steve ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe:

RE: Creating a PPD

2002-08-26 Thread Morgan, Steve H.
Chad, Believe it or not, including the HTML doc is quite easy but not well documented. All you have to do is place it in the correct directory before you create your tar file. You can even use pod style docs, inherit the Active State Style sheets and create the html file from your makefile.pl. I

MS SQL Server Version

2002-08-13 Thread Morgan, Steve H.
Does anyone have any idea how you might be able to audit some MS SQL server version installs using perl. I am able to get the version and service packs from the registry using a perl script, but can not seem to find the location that would contain Enterprise vs Standard installs.

MIME::Lite

2002-08-09 Thread steve silvers
elated instead of /mixed ) or die "new: $!\n"; $msg->attach(Type => 'text/html', Data => $text) or die "attach1: $!\n"; $msg->send() or die "send: $!\n";} Thanks in advance. Steve ___

Re: MIME::Lite problem

2002-08-09 Thread steve silvers
The problem isn't from the From: but has to do with the way that MIME::Lite uses SMTP. More or less is there a way to have this log the error and keep running in stead of just craping out >From: Jing Wee <[EMAIL PROTECTED]> >To: "steve silvers" <[EMAIL PRO

Re: Preventing Browser Stop from killing script

2002-07-30 Thread Steve Keith - Baselines
complete, then the database stays the way it was. Is this how it works? All the variables available to the main program will be available to the forked process, correct? Thanks for your suggestions. Steve - Original Message - From: "Carl Jolley" <[EMAIL PROTECTED]>

Re - Preventing Browser Stop from killing script

2002-07-30 Thread Steve Keith - Baselines
ly that involve MLDBM/DB_File database commits via web pages, I'd be greatful (or is that grateful?) Thanks, Steve Keith ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

  1   2   >