RE: large file upload

2001-06-08 Thread Morgan, Steve H.
Greg, I am researching this issue too. I am running Win2K IIS and it seems to timeout at 300 seconds. The file does get uploaded to the temp directory but times out while copying the file to the final destination.(They don't want you to access the temp file directly). I looked on the MS site and

Getting full path from SYSTEM % PATH%

2001-06-08 Thread Saxena, Saurabh
Hi Is it possible in perl to get the loaction of some ecexutable from the PATH , For example if the system path has PATH= E:/Perl/bin Is it possible to read it using perl regards Saurabh ___ Perl-Win32-Users mailing list [EMAIL PROTECTED]

Wildcard matching of hash keys

2001-06-08 Thread Martin Moss
All, Has anybody done any work with wildcard matching of hash keys? along the lines of my $pattern=*red*; if (exists($hash{$pattern})) #I { print Key exists\n; } Is the only solution to sort through each key and do a pattern match? Regards Marty

RE: Getting full path from SYSTEM % PATH%

2001-06-08 Thread Saxena, Saurabh
Hi I think $ENV{PATH} should work but it is giving the full string as stored the the System PATH variable.Is it posible to get the path for a particular executable directly regards saurabh Hi Is it possible in perl to get the loaction of some ecexutable from the PATH , For example if the

RE: [Perl-unix-users] Login Security

2001-06-08 Thread Thomas_M
Jenda Krynicky wrote: I think you misread the original post. Byron Wise says: Recently my company decided to put their login on the main page. This main page isn't secure. However the action attribute of the form tag does point to a secure cgi script that handles the

Setting columns per page

2001-06-08 Thread Kyle Payne
I know I can set the lines per page with $=. Is there a way to set the columns per page? Actually what I want to do is have the first column move to the right 4 spaces. Kyle Payne Berbee 4000 West Spencer Street Appleton, WI 54914-4015 [EMAIL PROTECTED] Office: 920.996.3107 Fax: 920.997.9719

RE: Wildcard matching of hash keys

2001-06-08 Thread erskine, michael
-Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED]] Sent: 08 June 2001 15:15 To: [EMAIL PROTECTED] Subject: Wildcard matching of hash keys Has anybody done any work with wildcard matching of hash keys? along the lines of my $pattern=*red*; if

RE: Wildcard matching of hash keys

2001-06-08 Thread Martin Moss
First prize for a speedy response goes to Michael:-) The goldfish in a bag is on it's way to you! -Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED]] Sent: 08 June 2001 15:15 To: [EMAIL PROTECTED] Subject: Wildcard matching of hash keys Has anybody done any

RE: Wildcard matching of hash keys

2001-06-08 Thread Rubinow, Larry
erskine, michael wrote: Has anybody done any work with wildcard matching of hash keys? along the lines of my $pattern=*red*; if (exists($hash{$pattern})) #I { print Key exists\n; } Ooh...ooh...let me!!! my @hits = grep /.*red.*/, keys( %hash ); la-la-la! first

RE: Wildcard matching of hash keys

2001-06-08 Thread erskine, michael
-Original Message- From: Rubinow, Larry [mailto:[EMAIL PROTECTED]] Sent: 08 June 2001 16:07 To: 'erskine, michael'; '[EMAIL PROTECTED]' Subject: RE: Wildcard matching of hash keys Well, sure ... but why not my @hits = grep /red/, keys( %hash ); Ouch! I was stumbling my

Getting text from HTML pages

2001-06-08 Thread steve silvers
I have all sorts of static HTML pages, that I need to read in with a script and grab the text out of them. It's pretty simple. All the static HTML pages are basically. pthis is the text. pthis is the text. so on .. How hard is it to do this?? I know I can search for words in a static

RE: Getting text from HTML pages

2001-06-08 Thread Martin Moss
my ($text)=$htmlstring=~/\p\(.*)/i; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of steve silvers Sent: Friday 08 June 2001 16:28 To: [EMAIL PROTECTED] Subject: Getting text from HTML pages I have all sorts of static HTML pages, that I need

What is th perl executable that is being used?

2001-06-08 Thread Satish Vadlamani
Hi: How can I find out when I run a perl program, what is the executable being used? There are a few of them in the bin directory -- a) perl.exe, b) Perl5.6.0.exe, c)wperl.exe. thanks in advance Satish _ Get your FREE download

Re: Wildcard matching of hash keys

2001-06-08 Thread Ron Pero
At times I've thought it would be worthwhile to have a function called regexists, that would look like this: if ( regexists('cart','^302v') ) { print hello\n; } Better yet, like the exists function: if ( regexists $cart{/^302v/} ) { grep works just fine for this if (grep {/^305v/} keys

Re: Windows DUN from perl

2001-06-08 Thread Glenn Linderman
Good find. Of course, the author's page below indicates that Win32::DUN is 1) considered obsoleted by Win32::RASE 2) requires the use of an external program to do some of the work I've been playing with Win32::RASE and also Win32::GUI to make a flexible dialer application that a number of my

Re: Getting full path from SYSTEM % PATH%

2001-06-08 Thread Edward G. Orton
- Original Message - From: Saxena, Saurabh [EMAIL PROTECTED] To: 'Perl1' [EMAIL PROTECTED]; 'Perl2' [EMAIL PROTECTED] Sent: Friday, June 08, 2001 10:13 AM Subject: Getting full path from SYSTEM % PATH% Hi Is it possible in perl to get the loaction of some ecexutable from the PATH ,

Re: Getting text from HTML pages

2001-06-08 Thread Ron Grabowski
my ($text)=$htmlstring=~/\p\(.*)/i; I think he wanted everything in the file. The Cookbook says: % perl -pe 's/[^]*//g' file ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Re: What is th perl executable that is being used?

2001-06-08 Thread Vince Wilding
Satish Vadlamani wrote: How can I find out when I run a perl program, what is the executable being used? perldoc perlvar shows: $EXECUTABLE_NAME $^X The name that the Perl binary itself was executed as, from C's argv[0]. So: print The PERL executable is at: $^X\n; will tell you what

Sending mail with Perl

2001-06-08 Thread
Hello, Someone has a program for sending mail with perl. I need read a mail list from a SQL server, and after send to everyone of them. I'm using Windows NT server, Exchange server. Thanks in advance Jackeline. ___ Perl-Win32-Users mailing list [EMAIL

Embed ASP into Perl

2001-06-08 Thread Mauricio Lairet P.
Hi! As I understand, you can insert Perl code into ASP pages by using Perlscript. But what if I need to insert a piece of ASP code into a Perl program? Is it posible? Thank you in advance Mauricio ___ Perl-Win32-Users mailing list [EMAIL PROTECTED]

Re: Sending mail with Perl

2001-06-08 Thread Mark Bergeron
Use this (with some modification to the message body): use Net::SMTP; print Content-type: text/plain, \n\n; my $DEBUG = 0; if($DEBUG){ $| = 1; open(STDERR, STDOUT); } my $ServerName = host.servername.etc; # Create a new SMTP object my $smtp = Net::SMTP-new($ServerName, Debug = 1);

Assistance use Strict

2001-06-08 Thread Purcell, Scott
Hello, I am using strict and I am getting an error on the second line below. Line one, is a query that brings back a REFERENCE TO AN ARRAY. In line 2, I am trying to grab only the LAST array element, and split it up on the newline and put that result into lines. But strict is telling me I can'

Re: Assistance use Strict

2001-06-08 Thread Ron
I take back the last bit of my last post. I think you could say... my @lines = split /\n/, @{$rawDataRef}[ $#{ $rawDataRef }]; ... based on accessing and printing of Arrays of Arrays in camel 3. pg 271 - Original Message - From: Ron [EMAIL PROTECTED] To: Purcell, Scott [EMAIL

RE: Getting full path from SYSTEM % PATH%

2001-06-08 Thread Sterin, Ilya
You can do a split(), not sure what you mean about getting a path for a particular executable directly, I don't think that info is kept anywhere else, since you can add and delete from path as you wish. Some programs might keep that info in the registry, if you are using windows. Ilya Sterin

RE: need database help

2001-06-08 Thread Wells, Doug
Take a look at the following paper Short guide to DBI it should help. http://www.perl.com/pub/1999/10/DBI.html hth Doug -Original Message- From: James McDermet [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 3:37 PM To: [EMAIL PROTECTED] Subject:need database

Re: Not Intended for this build of Perl

2001-06-08 Thread David Sparks
At 01:22 PM 07/06/2001, Gupta, Satish wrote: PPM install XML-CSV Install package 'XML-CSV?' (y/N): y Installing package 'XML-CSV'... Error installing package 'XML-CSV': Read a PPD for 'XML-CSV', but it is not inte nded for this build of Perl (MSWin32-x86-multi-thread) This is caused by a long

help with fork, socks, DBI

2001-06-08 Thread Jaime Teng
Hi, I have a perl POP3 Server script that uses IO::Socket and IO::Select to handle iterative 'pseudo-non-blocking socket io between several clients. It uses MySQL for username/password database and NT2000 IIS' built in SMTP for send/receive email transport. It is working well. In view of

How do you insert carriage returns in a Cell in Excel?

2001-06-08 Thread Jacob, Raymond A
I am working on script to translate a configuration file into an excel spread sheet. Currently, I print out the relevant fields with commas and end the record with newline to a file. I then import the file into an excel spread sheet. I then to insert soft returns {Alt-Enter} to format the cells

Re: Question about how Win32::Process works

2001-06-08 Thread Sisyphus
- Original Message - From: Satish Vadlamani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 4:46 PM Subject: Question about how Win32::Process works Hi: 1) I want to know how Win32:Process works. 2)I am able to do what I want to do with the following program.