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
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]
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
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
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
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
-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
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
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
-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
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
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
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
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
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
- 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
,
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
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
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
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]
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);
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'
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
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
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
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
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
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
- 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.
29 matches
Mail list logo