64 bit arithmetic on 32 bit system

2009-09-07 Thread Jares, Howard M
I need to calculate the password expiration date for users in Active Directory. This is basically done by obtaining the domain maxPwdAge which is a 64 bit value that represents how often the users password must be changed. I also need to obtain the date that the user last changed his/her passwor

RE: Calling subroutine from different file

2009-03-11 Thread David M. Funk
Mujju, Try using the require statement in call.pl Example call.pl C:\perl\bin\perl.exe #some script my $cnt=0; sub do_something { . . . } ### Main require c:\perl\script\file1.pl; require c:\perl\script\file2.pl; do something else; &do_something; print "something

Perl NET:SSH2 on WIndows.

2008-12-03 Thread David M. Funk
len); print "BUF2:\n", $buf2,"\n"; last few lines of output: Net::SSH2::Channel::read(size = 3, ext = 0) return rc = -1 - read -1 bytes BUF2: Net::SSH2::Channel::DESTROY Net::SSH2::DESTROY object 0x1996a4c TIA, David M. Funk President/CEO Tivoli Certi

perl download a winzip file from URL

2008-09-10 Thread David M. Funk
g("Complete..\n"); &write_log if $#LOG >=0; $file1=""; &mesg("Calling $baseurl/$url2..\n"); &mesg("Getting File $pdffile..\n"); $response2 = $ua->get("$baseu

RE: Run perl on window using cygwin+Eclipse+EPIC

2008-09-10 Thread David M. Funk
Try /cygdrive/c/cygwin/bin as the path From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jing LI Sent: Tuesday, September 09, 2008 10:45 PM To: perl-win32-users@listserv.ActiveState.com Subject: Run perl on window using cygwin+Eclipse+EPIC I have one Perl script which works whe

DBI record limitations when querying AD

2007-08-16 Thread Zack, Joelle M.
I'm using DBI to query data from my active directory.  I have the script working and I can return the user data that I'm looking for, but I can only get 1000 rows back.  I understand that there is a default limitation in AD that allows only 1000 rows to be returned at a time, but in VBS I can se

RE: Hello! Help me please!

2006-01-05 Thread Daley, Ryan M.
gt; Hicks, Robert wrote: > > I believe that if you inline a heredoc like that the > contents of the heredoc have to be left aligned all the way > to the left margin. > > Not the *contents* of the heredoc, but the closing label must > be the first thing on its

activation

2005-03-04 Thread Morad M. Shihdeh
[EMAIL PROTECTED] ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

executing Desktop shortcut

2005-02-04 Thread M. Smith
Is it possible to execute a desktop shortcut on Win2k using AS Perl? I used to do this on win98 by just adding .lnk to the path\file name and putting it in a system statement, but that doesn't work on 2k. And I tried guitest which seems should work, and didn't, but I'm not locked into that if th

Re: Discrepancy on time reported by system and localtime

2005-01-14 Thread M. Smith
At 07:55 PM 1/13/2005, you wrote: Allegakoen, Justin Devanandan wrote: > ---8< > ^Z on windoze > ---8< > ^D or ^Z I still have to hit enter after it. Unless theres a subtle > difference that I'm missing. True - you do have to hit CR (unlike UNIX's ^D). > Anyway, just

Alternative to Expect.pm for ActiveState?

2004-11-10 Thread Eric M. Hillman
I'm trying to write a simple Win32::GUI wrapper to a command-line program that requires both command line options and user interaction. That is, I want to take the following: C:\> myprog -d filename.txt.enc Enter password for "filename.txt.enc": > P4ssw0rd Password OK, extracted to filename.txt

Need information on Net::SSH::W32Perl package

2004-10-15 Thread Rishi Kaundinya M
Title: Need information on Net::SSH::W32Perl package Hi All, I am using the above package for my project work and stucked at the following Point. eb96140: Warning: ignore packet type 100  > Program is hanging here eb96140: Reading configuration data /.ssh/config eb96140: Reading

perl.exe - Entry Point Not Found

2004-07-29 Thread Glenn M Dowling
My co-worker recently installed ActiveState Perl v5.8.4 on a WinNT 4 member server. When she tried to run a local script, she got the following error message: perl.exe - Entry Point Not Found The procedure entry point GlobalMemoryStatusEx could not be located in the dynamic link library KERNEL

RE: :Socket::INET - unable to use "Timeout" option

2004-07-13 Thread Glenn M Dowling
ference. Thanks for your help on this. :-) Glenn ">"Oberholtzer,Stephen" <[EMAIL PROTECTED]> "Oberholtzer,Stephen" <[EMAIL PROTECTED]> 07/08/2004 18:40 To Glenn M Dowling/Cranford/[EMAIL PROTECTED], <[EMAIL PROTECTED]> cc

RE: Poblems installing Math-Pari

2004-05-18 Thread Rishi Kaundinya M
You can following steps. 1. Instal perl 5.8.3 in C:\Perl and use ppm3 command 2. Follow the instructions provided in the url "http://www.soulcage.net/ppds/"; This does not install Math-Pari package. 3. Add "http://theoryx5.uwinnipeg.ca/ppms/"; to the ppm3 repository using rep add comman

Net::SSH::W32Perl

2004-05-18 Thread Rishi Kaundinya M
Hi Experts, I need to use "Net-SSH-W32Perl" package for the work I am doing. This is a high priority task for me. I have a problem with respect to the SSH package. I am using Win2000 in my PC and I need to get the data from the remote unix machine. I have written small program as follows.

BrowseForFolder Question

2004-04-12 Thread POWELL, JAIME M. (JSC-IS) (IDI)
This is probably a silly question, but does the BrowseForFolder command work from a browser? I've been trying to get it to work and nothing happens. But if I run it from a command prompt, it works just fine. Here is the code that I'm using: #!c:\Perl\bin\perl.exe use Win32::FileOp qw(:_DIALOGS Br

RE: Cannot change directory in SSH session

2004-03-26 Thread Rishi Kaundinya M
tially. 2. Grab the output of each command and store it in windows PC. Please let me know if you have any alternatives to achive SSH functionality in my perl program. Thanks & Regards, Rishi -Original Message- From: michael higgins [mailto:[EMAIL PROTECTED] Sent: Friday, March 2

RE: Cannot change directory in SSH session

2004-03-26 Thread Rishi Kaundinya M
Hi Experts, I have written the code exactly as you mentioned below in my winows machine. I am getting following error here. Afer the command "ls" is being sent to the remote unix machine, the program is getting stucked. eb96140: Entering interactive session. eb96140: Sending command: ls

RE: Information required on Net::SSH::W32Perl package

2004-03-22 Thread Rishi Kaundinya M
have any example code to solve this. I appreciate your help in this regard. Thanks & Regards, Rishi > -Original Message- > From: Anderson, Mark (Service Delivery) > [mailto:[EMAIL PROTECTED] > Sent: Monday, March 22, 2004 7:15 PM > To: 'Rishi Kaundi

RE: Win32::GUI Question

2004-03-12 Thread Eric M. Hillman
> According to the docs on CPAN, there's a -multiple option, > but I can't get it to work. > > Let us know if you have any joy. I've never got that to work. There's a way to do it with Win32::FileOp, though... @file = Win32::FileOp::OpenDialog( -title => "Select File(s) t

random keyword generator

2004-01-03 Thread Murali M
hi,    i need random keyword generator. any one help to me. send code or url. thanks in advance. Murali.M 5, Janaki Ammal St, Kadaperi,Tambaram Chennai - 600045 India Ph: +914422418307(R) Mobile: +919840499146 Feeling like a vacation? Then you are in the right place. Get the best travel deals here!

Re: Easy Reg-ex

2003-07-04 Thread M Ajmal
thanks for the help... I ended up solving the problem.. The reg-ex that worked was: /^Test.\+PASS!$/ For some reason, the "+" sign had to be escaped; yet, the "!" sign (which I thought for sure was something special) isnt'... :-) MA PS: It's amazing how much watching the reg-ex matching the pa

Easy Reg-ex

2003-07-04 Thread M Ajmal
I'm parsing a file and want to eliminate all lines that start with "Test" and end with "PASS!". I'm using the regex: /^Test.+PASS!$/ for this task, however, i keep getting pattern not found errors... What's going on? Thanks.

Easy Reg-Ex

2003-07-04 Thread M Ajmal
Hi, I'm parsing a file and want to eliminate all lines that start with "Test" and end with "PASS!". I'm trying to do the following: /^Test.+PASS!$/ but it says no patterns match! Some help please. MA __ Post your free ad now!

Re: easy newbie REGEX

2003-06-10 Thread M Ajmal
how about something like: unless ($answer =~ /^MDS\d/) { print "Try again: "; } MA __ Post your free ad now! http://personals.yahoo.ca ___ Perl-Win32-Users mailing list [

RE: Another Regular expression problem

2003-03-10 Thread Stovall, Adrian M.
> -Original Message- > From: Electron One [mailto:[EMAIL PROTECTED] > Sent: Monday, March 10, 2003 12:12 PM > To: [EMAIL PROTECTED] > Cc: Electron One > Subject: Another Regular expression problem > > > Hello Everyone, > >I have a perl file that has this, > > ##

RE: Case insensitive search help

2003-02-18 Thread Stovall, Adrian M.
Comments in-line... > -Original Message- > From: Ross Matt-QMR000 [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 10:50 AM > To: [EMAIL PROTECTED] > Subject: RE: Case insensitive search help > > > that just looks for the lower case. is there something that Not quite...loo

RE: Trouble with my variables.

2003-02-18 Thread Stovall, Adrian M.
> -Original Message- > From: Stovall, Adrian M. > Sent: Tuesday, February 18, 2003 10:49 AM > To: Beckett Richard-qswi266; [EMAIL PROTECTED] > Subject: RE: Trouble with my variables. > > > > -Original Message- > > From: Beckett Richard-qswi266 [m

RE: Trouble with my variables.

2003-02-18 Thread Stovall, Adrian M.
> -Original Message- > From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 10:07 AM > To: [EMAIL PROTECTED] > Subject: RE: Trouble with my variables. > > > Still having harassments... > > I now invoke the sub thusly... > > update_value("ftp", $ft

RE: Case insensitive search help

2003-02-18 Thread Stovall, Adrian M.
> -Original Message- > From: steve silvers [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 10:26 AM > To: [EMAIL PROTECTED] > Subject: Case insensitive search help > > > > My form passes the search param to my script. My sql call is > something like. > > my $search = $qu

RE: Trouble with my variables.

2003-02-18 Thread Stovall, Adrian M.
> -Original Message- > From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 7:29 AM > To: [EMAIL PROTECTED] > Subject: RE: Trouble with my variables. > > > Thanks, guys. > > I'm not sure I can explain what I thought, but here's a go... > > I thoug

RE: please help me with following error

2003-02-11 Thread Stovall, Adrian M.
From: Nagesh Pai [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 7:42 PM To: [EMAIL PROTECTED] Subject: please help me with following error I have installed active state perl on windows 2000 professional operating system. I copied all the modules required for running a perl script t

RE: Convert disk space size to readable form.

2003-01-07 Thread Stovall, Adrian M.
> -Original Message- > From: Peter Guzis [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 2:56 PM > To: [EMAIL PROTECTED] > Subject: RE: Convert disk space size to readable form. > > > That's not quite accurate. Take a look at > http://physics.nist.gov/cuu/Units/binary.html

RE: Encryption question

2002-12-27 Thread Stovall, Adrian M.
> -Original Message- > From: Frazier, Joe Jr [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 27, 2002 2:49 PM > To: [EMAIL PROTECTED] > Subject: Encryption question > > > Anyone have any simple sample code for encryption and > decryption? I am not sure I get it. I have tried using

RE: strage slowdown

2002-12-16 Thread Stovall, Adrian M.
Steve said: I am rewriting some code that computes a statistic on data containted in each possible pair of files in a list. I thought I would make it go faster, but it's going slower. This makes no sense because the two pieces of code are doing the same thing (produce identical results), and man

RE: Problems with Win32::TieRegistry SetValue for REG_MULTI_SZ type.

2002-12-13 Thread Stovall, Adrian M.
(From the Activestate docs on Win32::TieRegistry...) REG_MULTI_SZ These values can also be specified as a reference to a list of strings. For example, the following two lines are equivalent: $key->SetValue( "Val1\000Value2\000LastVal\000\000", "REG_MULTI_SZ" ); $key->SetValue( ["Val1","

RE: Problems with Win32::TieRegistry SetValue for REG_MULTI_SZ type.

2002-12-13 Thread Stovall, Adrian M.
> -Original Message- > From: Lee Clemmer [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 2:42 PM > To: [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: Problems with Win32::TieRegistry SetValue for > REG_MULTI_SZ type. > > > When I use this function: > $key->SetVa

RE: AutoIncrement hash value

2002-12-06 Thread Stovall, Adrian M.
> -Original Message- > From: Capacio, Paula J [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 2:59 PM > To: Perl-Win32-Users (E-mail) > Subject: AutoIncrement hash value > > > I was using a hash to accumulate occurrences of a string > (jobnames) in the file and I tried to

RE: Loop syntax problem.

2002-12-06 Thread Stovall, Adrian M.
> -Original Message- > From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 10:25 AM > To: Perl-Win32-Users > Subject: Loop syntax problem. > > > Hello World! > > I have a loop syntax problem. When [1] a Stupid User (TM) > enters a non numeric valu

Net-DNS for 5.8/802

2002-11-26 Thread Stovall, Adrian M.
Does anybody know where I can find a Net-DNS module built for ActivePerl build 802? I'm not in dire need, but it'd be nice. perl -e "sub Sub{return reverse(@_);}$i='ohce';$_='.$yyye k ca i Xl $yyye jX $yyyehto ZfX tq $uQ';s+[ \$]++g;s-j-P-;s^yyy^r^g;s:i:H:;s!X! !g;s|Z|n|;s*Q*J*;s{q}{s}g;s(f)(A);

RE: Mail::Sendmail not working for me anymore

2002-11-25 Thread Stovall, Adrian M.
Comments inline... ... $mail{Date} = Mail::Sendmail::time_to_date( time() ); sendmail(%mail) or die I am dead; # yields these results: ###

RE: [Perl-Win32-Users]Subject Line

2002-11-22 Thread Stovall, Adrian M.
> -Original Message- > From: Jack [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 4:42 PM > To: Perl-Win32-Users > Subject: Re: [Perl-Win32-Users]Subject Line > > > - Original Message - > From: "Stovall, Adrian M." <[E

RE: regular expression question

2002-11-22 Thread Stovall, Adrian M.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 4:38 PM > To: Stovall, Adrian M.; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: regular expression question > > > I tried that, it does

RE: [Perl-Win32-Users]Subject Line

2002-11-22 Thread Stovall, Adrian M.
Is it really any harder than filtering on "perl-win32-users" in the "To:" field? > -Original Message- > From: Carter Thompson [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 22, 2002 4:19 PM > To: troy topnik; [EMAIL PROTECTED] > Subject: RE: [Perl-Win32-Users]Subject Line > > > >

RE: regular expression question

2002-11-22 Thread Stovall, Adrian M.
> if (!-z $file) > { > open(LOG_FILE, "<$file") or warn " can not open $file:$!\n"; > my @read_lines = ; > close (LOG_FILE); > next unless chomp($read_lines[0]) =~ m#\"\nest and > \toolbox VOBs\"#; >

RE: Gathering Information

2002-11-21 Thread Stovall, Adrian M.
Title: Message not sure if this is what you're looking for, but I found an interesting link...     http://www.qwerks.com/product.asp?ProductID=3638 -Original Message-From: Cruickshanks, Darin [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 9:18 AMTo: [EMAIL PR

RE: use LWP; -- problem with URL

2002-11-08 Thread Stovall, Adrian M.
Title: Message double-quotes was a good start...try this:   my $url="http://mysite.com/refers".$month."02.html";   it's looking for a variable called $month02, and not finding it. -Original Message-From: Ricci, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, November 08, 2002 12

RE: Hash tables where keys names would not be stored

2002-11-06 Thread Stovall, Adrian M.
Maybe a two-part solution...use the md5 to create both a hash entry and a record in some kind of mini-database (one table, two columns...MD5 and URL). Then when you want to display stuff later, you look for the associated URL from the database...lots of ways to go about this...you can have this be

difficulties mailing on win32 - none on Unix

2002-10-31 Thread M . Hall
Dear all I am new to this list, (and a bit of a newbie with perl), so apologies if this has been covered before - I have searched the faqs but can only find standard examples. Anyhow, I have some scripts which use Net::SMTP to mail data, and these have been working fine while hosted on a Unix

RE: Trimming Leading and Trailing Whitespaces

2002-10-30 Thread Stovall, Adrian M.
$string = "cat and dog"; $string =~ s/^\s+(.*)\s+$/$1/; > -Original Message- > From: Stephens, Wes (N-Sybase) [mailto:wes.stephens@;lmco.com] > Sent: Wednesday, October 30, 2002 11:44 AM > To: ActivePerl (E-mail); Perl-Win32-Users (E-mail) > Subject: Trimming Leading and Trailing

RE: Random numbers

2002-10-29 Thread Stovall, Adrian M.
Title: Message $randomstring="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; for ($ii=1;$ii<=1000;$ii++) {     $pwd = "";     for ($jj=1;$jj<=8;$jj++) {     $pwd .= (split(//,$randomstring))[rand(length($randomstring))];     }     print "$pwd\n"; }   change the list of

RE: Passing multiple hashes into a sub-routine and returning them

2002-10-29 Thread Stovall, Adrian M.
foreach $key (keys %hash) { print "key: $key - value: $hash{$key}\n"; } The code above loops through the keys (in no particular order) and prints each key along with its value. > -Original Message- > From: Reddy Kankanala [mailto:rkankanala@;Interelate.com] > Sent: Tuesday, Octo

RE: Can't access from Command Line

2002-10-23 Thread Stovall, Adrian M.
his would be an "extemporaneous" Perl contest. Of course, real such contests would have to be held "live," perhaps on IRC? ;-) jpt > -Original Message- > From: Stovall, Adrian M. [mailto:Adrian.Stovall@;durez.com] > Sent: Tuesday, October 22, 2002 5:29 PM > T

RE: Logging in

2002-10-23 Thread Stovall, Adrian M.
"\$data=$data\n"; Then you'll know which one is empty. -Original Message- From: Issa Mbodji [mailto:issambodji@;yahoo.com] Sent: Tuesday, October 22, 2002 5:22 PM To: Stovall, Adrian M. Subject: RE: Logging in Hello Adrian: Here is my code: use DBI; use DBD::ODBC; use wa

RE: what is this expr doing exactly?

2002-10-22 Thread Stovall, Adrian M.
It's checking to see if $self->{'Dir'} is defined... if it IS defined, it's looking at $currn, and saving any sequence of characters that are at the end of the string $currn, and do not contain a forward slash. Then it's replacing the contents of $currn with whatever was in $self->{'dir'} plus th

RE: Can't access from Command Line

2002-10-22 Thread Stovall, Adrian M.
This is starting to sound an awful lot like a mildly obfuscated Perl contest... -Original Message- From: Thomas R Wyant_III [mailto:Thomas.R.Wyant-III@;usa.dupont.com] Sent: Tuesday, October 22, 2002 4:18 PM To: perl-win32-users Subject: RE: Can't access from Command Line Burak - Unle

RE: Regex With Common Applications

2002-10-21 Thread Stovall, Adrian M.
Title: Message here's a short example   $data="file://one two three four five six seven eight nine ten";$words="two four six eight ten";$filter='('.join('|',split(/\s+/,$words)).')';print "filter: $filter\n";print "$data\n";$data =~ s/$filter/BITE ME/gi;print "$data\n";   see if you can fi

RE: CGI on iis5 question

2002-10-18 Thread Stovall, Adrian M.
Why don't you try changing the die statement to a print statement...that way you'll see the error in the browser... open(inf,"tester.pl") or print "Error: $!\n"; -Original Message- From: Sisyphus [mailto:kalinabears@;hdc.com.au] Sent: Friday, October 18, 2002 7:45 AM To: Perl-Win32-Users

RE: Sorting hash of a hash by value

2002-10-15 Thread Stovall, Adrian M.
Not to pick, but this seems like a good project to attach to a database of some sort...I don't know if that's within the scope of your solution, but if it is, it might be worth thinking about. -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2

RE: Regexp needed

2002-10-14 Thread Stovall, Adrian M.
Assuming you put each line in a variable called $line... @columns = split($line); Pretty simple, eh? @columns will have 8 elements (0-7) based on the data you provided. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 10:29 AM To: [E

RE: How can I figure out whether it is binary file or ASCII file under one directory?

2002-10-10 Thread Stovall, Adrian M.
Can you be any more specific than "various binary files"? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 12:54 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: How can I figure out whether it is binary file

FW: Setting the actual directory with a Perl script.

2002-09-25 Thread Stovall, Adrian M.
typing "cd \" (since I put my test script in my root dir) and "perl direct.pl" gives an error on subsequent executions: C:\>perl direct.pl Can't open perl script "direct.pl": No such file or directory ... -Original Message- From: Stovall, Adrian M.

RE: Setting the actual directory with a Perl script.

2002-09-25 Thread Stovall, Adrian M.
pl). Regards, Martin Kellner |+---> || "Stovall, Adrian M." | || <[EMAIL PROTECTED]> | || Gesendet von:| ||

RE: Setting the actual directory with a Perl script.

2002-09-25 Thread Stovall, Adrian M.
That won't quite work... #!perl -w use Cwd; print cwd."\n"; #print the starting directory system("cd c:\\temp\\");#use the system "cd" command print cwd."\n"; #print the current directory (didn't change) chdir("c:\\temp\\");

RE: Outlook Express mail notifier...

2002-09-12 Thread Stovall, Adrian M.
of the screen. Ahh, the things we do for love... -Original Message- From: Carl Jolley [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 12:17 PM To: Stovall, Adrian M. Cc: perl-win32-users Subject: Re: Outlook Express mail notifier... On Tue, 10 Sep 2002, Stovall, Adrian M.

RE: Regualr Expression Again...

2002-09-11 Thread Stovall, Adrian M.
Please ignore my previous post and my most recent lapse in useful thought... -Original Message- From: Joseph P. Discenza [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 9:30 AM To: Barlow, Neil; 'Gould, Kevin'; [EMAIL PROTECTED] Subject: RE: Regualr Expression Again... B

RE: Regualr Expression Again...

2002-09-11 Thread Stovall, Adrian M.
an get it to match at the beginning of a string using \A Can anyone advise on what I am doing wrong? I really really really appreaciate your help with this.. Regards, Neil Barlow -Original Message- From: Stovall, Adrian M. [mailto:[EMAIL PROTECTED]] Sent: 10 September 2002 15:15 To: Barl

RE: Regualr Expression

2002-09-10 Thread Stovall, Adrian M.
expression is greater than one? -Original Message- From: Stovall, Adrian M. [mailto:[EMAIL PROTECTED]] Sent: 10 September 2002 15:16 To: perl-win32-users Subject: Regualr Expression You're missing a few slashes... $dir =~ s/\\/\//g; Or (more clearly) $dir =~ s|\\|/|g; To use a

Regualr Expression

2002-09-10 Thread Stovall, Adrian M.
You're missing a few slashes... $dir =~ s/\\/\//g; Or (more clearly) $dir =~ s|\\|/|g; To use a backslash in a matching expression and have it treated as a backslash (and not an escape sequence), you have to prefix it with another backslash. If a forward-slash is the delimiter for your expres

Outlook Express mail notifier...

2002-09-10 Thread Stovall, Adrian M.
Hi all, as a favor to my wife, I am going to create a new mail notifier (something that plays a sound and puts a picture on the screen when mail shows up in outlook express). Incredimail sucks, and she finally realized that. At any rate, I was wondering if anyone could point me to some good docu

RE: PerlApp

2002-08-29 Thread Stovall, Adrian M.
I think what you want to do is create an application that accepts html input and does something with it. In this case, you'd first have to add that functionality to your program (and tell it to listen to a particular IP address and port...say 127.0.0.1:65123). Then you could create some kind of

AMENDMENT: How to find out the Perl build, not the version?

2002-08-28 Thread Stovall, Adrian M.
erpreter is too old. See also "$]" for an older representation of the Perl version. -Original Message- From: Stovall, Adrian M. Sent: Wednesday, August 28, 2002 8:28 AM To: [EMAIL PROTECTED] Subject: RE: How to find out the Perl build, not the version?

RE: How to find out the Perl build, not the version?

2002-08-28 Thread Stovall, Adrian M.
Do "perl -V", instead of "perl -v" (capitalize the "v"). The first line should read something like: "Summary of my perl5 (revision 5 version 6 subversion 1) configuration:" Grab that line and do some massaging... -Original Message- From: Smith, Barry [mailto:[EMAIL PROTECTED]] Sent:

Thanks

2002-08-15 Thread m. forster
Just wanted to thank all those who made suggestions as to how to run perl within win98. My fave amongst them was to drop pws & use Apache instead, so I'm going for it! Prepare for more incoming & batten down the hatches you guys. Cheers. Mark Forster ___

Getting cgis to work

2002-08-15 Thread m. forster
Hello. I am a complete newbie to perl (though familiar with other languages, net and otherwise) and need some advice on getting perl cgis to work at all. I have downloaded a shopping cart implementation from an Internet site and cannot get anything other than "500 server errors". My problem is

Dial-up connection info...

2002-07-25 Thread Stovall, Adrian M.
I haven't posted here in a while, but I can think of no better place to ask this question (posted on perl-beginners[PBML] with no bites). Does anyone know a simple or relatively straightforward way to determine phone number and connection speed for an active dial-up connection? I've peeked at the

creating array reference to one array of a hash of arrays

2002-07-12 Thread Jares, Howard M
# I have a program that gets a hash from an API call. # the format of the hash is that each key corresponds to an # array. The following code snippet illustrates the data: $href->{One} = [1,2,3,4]; print ref($href)."\n"; print ref($href->{One})."\n"; # I would like to simplify the syntax to use a

RE: Off Topic: Email Question

2001-11-16 Thread Kirkby, Peter M
Hi Paul > This is a bit off-topic, but I would like the benefit of the expertise > here > on another question. > > I am tired of using Microsoft Outlook as my email/contacts/scheduling > software (for a whole variety of reasons). I own Eudora, and could go > back > to that, but that only solves

How to Start Win32::Daemon on Windows 2000 (WAS how to make a perl script a NT service)

2001-04-27 Thread David M. Davisson
I have checked out this module and am having a bit of trouble getting it to work on Windows 2000. I can use it to install or remove a a service, but if I try to use the Service Control Manager to start the service or use net start service_name, I keep getting the same error: Error 1053: The serv

Re: How to find a drive exsistence

2001-04-26 Thread David M. Davisson
Try this: #!perl.exe -w use strict; use Win32API::File qw( :ALL ); my @drives = getLogicalDrives(); my %Types = 0 => 'DRIVE_UNKNOWN', 1 => 'DRIVE_NO_ROOT_DIR', 2 => 'DRIVE_REMOVABLE', 3 => 'DRIVE_FIXED', 4 => 'DRIVE_REMOTE', 5 => 'DRIVE_CDROM', 6 => 'DRIVE_RAMDISK', ); foreach

Re: CSV sorting

2001-04-25 Thread David M. Davisson
I would suggest you check out DBI using DBD::CSV. You can do SQL and sort. -- Dave Davisson [EMAIL PROTECTED] - Original Message - From: "Walsh, Keith" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Sent: Wednesday, April 25, 2001 3:42 PM Subject: CSV sorting > Hel

Re: DBI Keepalive

2001-04-20 Thread David M. Davisson
Robert, ORA-0113 errors can be more than just timeout errors. If I were you I would check with the DBA and see if there is anything in the database trace logs indicating an error on the server end. My experience is that ORA-0113 errors usually result from broken communication channels and not n

Re: Scheduled Tasks

2001-04-18 Thread David M. Davisson
I never was able to get the at commands to work with perl. I was successful on NT with the use of the Scheduled Tasks folder without using any reference to the perl executable, just the name of the perl script. However, make sure you have a .pl extension! -- Dave Davisson [EMAIL PROTECTED] --

from Bill Luebkert

2001-03-12 Thread m
The lists were down, and Bill asked me to forward this to the list. Original Message Subject: OT - To French and UK members of this list Date: Mon, 05 Jun 2000 20:13:09 -0700 From: "$Bill Luebkert" <[EMAIL PROTECTED]> Organization: DBE Collectibles To: Perl-Win32-Users Mailing L