Re: Win32-API-0.20

2002-10-02 Thread Sisyphus
- Original Message - From: "Tony" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 1:26 PM Subject: Re: Win32-API-0.20 > Hi Marcial > I tried to install via the PPM but got some problem, could you help to > identify what wrong with my

Re: String-Approx-3.19

2002-10-02 Thread Sisyphus
- Original Message - From: "Hazan, Lynn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 12:45 AM Subject: String-Approx-3.19 > I am curently using the String::Approx 2.7 version but as I need to > specified the starting and ending positions of matching I de

Re: Win32-API-0.20

2002-10-02 Thread Tony
Hi Marcial I tried to install via the PPM but got some problem, could you help to identify what wrong with my usage?? ppm> rep Repositories: [1] dada [2] ActiveState PPM2 Repository [3] ActiveState Package Repository ppm> install http://dada.perl.it/PPM Win32-API Searching for 'http://dada.pe

Re: String-Approx-3.19

2002-10-02 Thread Randy Kobes
On Wed, 2 Oct 2002, Hazan, Lynn wrote: > I am curently using the String::Approx 2.7 version but as I need to > specified the starting and ending positions of matching I decided to get the > lastest version (3.19). > Unfortunately I can not compile, I got the following errors : > > C:\String-Appr

RE: UDP

2002-10-02 Thread Carter Thompson
use IO::Socket to send UDP Packets. Here's an example from the Network Programming w/Perl book, page 535. #!/usr/bin/perl # file: udp_daytime_cli2.pl use strict; use IO::Socket qw(:DEFAULT :crlf); use constant MAX_MSG_LEN => 100; $/ = CRLF; my $data; my $host = shift || 'localhost'; my $port

UDP

2002-10-02 Thread Harald Wopenka
Hi there, looking for a little example how to send UDP-Pakets via Perl. I found some nice things in perldoc, but they didn't work - or I was too dumb to implement them. Thanks in advance Harry ___ Perl-Win32-Users mailing list [EMAIL PROTECTED]

RE: Active directory madness - where is the phone number and the emai l

2002-10-02 Thread Capacio, Paula J
I was just investigating how to access Active Directory last week...I found the following link which had a perl example. http://www.perl.com/pub/a/2001/12/19/xmlrpc.html It was more elaborate than I need, because I don't need to have a client piece and a daemon piece as I'm on windows. However

RE: Active directory madness - where is the phone number and the emai l

2002-10-02 Thread Gould, Kevin
I've attached what LDAP gave me for a test user's attributes on a test script I was playing with the other day for your reference. The list will likely block it, but it should reach you directly. -Original Message- From: Steven Manross [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October

It works! Log4Perl works!

2002-10-02 Thread John Drabinowicz
Title: It works! Log4Perl works! Hello all, Thanks for all the advice, Thanks to all of you, I now have CPAN up and working, Log4perl working (tried simple and it works Thank you all once again, I realy appriciate it and hope I can help all of you in the future. Writing the ppm files was

RE: Active directory madness - where is the phone number and the emai l

2002-10-02 Thread Steven Manross
It's not available using the WinNT provider.. The WinNT provider just has attributes that were commonly available via Lan Manager (and some more, but not telephone or e-mail). You must use the LDAP Provider.. And for that you must know the exact location of the user or use ADODB to find the act

Re: use require question

2002-10-02 Thread Dirk Bremer \(NISC\)
Jasper, You could try a low overhead version: script_1.pl use strict; our $var1 = 'foo'; our $var2 = 'bar'; 1; script_2.pl use strict; require "script_1.pl"; print "In script_2.pl: $script_1::var1, $script_1::var2\n"; Dirk Bremer - Systems Programmer II - ESS/AMS - NISC St. Peters 636-922-915

RE: more Log4Perl questions

2002-10-02 Thread Randy Kobes
On Wed, 2 Oct 2002, John Drabinowicz wrote: > Thanks for the advice Johan (BTW Great name) > the Double quotes work much better, but I still need a little hand holding. > > Now I get the following error at the end of the > perl -MCPAN -e "install Log::Log4perl" process. > > I seem to recall

RE: use require question

2002-10-02 Thread Buch, Jasper \(Jasper\)
You're right, of course; a module would do the trick and I did consider it. But is it the only way..? - jasper -Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED]] Sent: 02 October 2002 18:17 To: Buch, Jasper (Jasper); [EMAIL PROTECTED] Subject: Re: use require question You

RE: use require question

2002-10-02 Thread Jamie . Echlin
take a look at this article: http://www.perl.com/pub/a/2002/04/23/mod_perl.html >-Original Message- >From: Buch, Jasper (Jasper) [mailto:[EMAIL PROTECTED]] >Sent: 02 October 2002 18:01 >To: [EMAIL PROTECTED] >Subject: use require question > > >Hello, > >I want to declare and initialize tw

Re: use require question

2002-10-02 Thread Martin Moss
You want to write yourself a perl Module. And then use the use Mymod($var1,$var2); Method you will need to write a Module which uses exporter to export the variables into your second script. Take a look at http://www.perldoc.com/perl5.6.1/pod/perlmod.html Marty - Original Message - Fr

use require question

2002-10-02 Thread Buch, Jasper \(Jasper\)
Hello, I want to declare and initialize two variables in one script and use the same variables in another script, like this: script_1.pl # use strict; $var1 = 'foo'; $var2 = 'bar'; script_2.pl # use strict; require "c:/ps/scripts/test/script_1.pl"; print "In script_2.pl: $var1, $var2\n"; Exe

Re: Win32-API-0.20

2002-10-02 Thread Tony
 Dear Pals     Does anyone know what happen for below message that got during execute for make Win32-API-0.20 ??   D:\Perl\Win32-API-0.20>nmake install   Microsoft (R) Program Maintenance Utility   Version 1.50Copyright (c) Microsoft Corp 1988-94. All rights reserved.       cl -c  -nol

RE: more Log4Perl questions

2002-10-02 Thread John Drabinowicz
Title: RE: more Log4Perl questions Hi Randy, I want to thank you all for your time, answers and patients with a newcomer to Perl and all it's extensions.  The interesting part is that once I get this stuff working in Win32, I'll have to do it again for Linux/Solaris as well. I just ordere

RE: Win32-API-0.20

2002-10-02 Thread Tillman, James
The mantra is:   perl Makefile.PL nmake nmake install   jpt -Original Message-From: Tony [mailto:[EMAIL PROTECTED]]Sent: Wednesday, October 02, 2002 11:20 AMTo: [EMAIL PROTECTED]Subject: Win32-API-0.20 Dear Pals     Have anyone use or know how to install the Win3

Win32-API-0.20

2002-10-02 Thread Tony
Dear Pals     Have anyone use or know how to install the Win32-API-0.20 after execute the in Win32-API-0.20.zip ??     I can't find out the way to install it!!     Even I copy the api.pm to the \lib directory, the program still can't find it!!     Thanks for any kindly comments and suggest

RE: more Log4Perl questions

2002-10-02 Thread Tillman, James
Okay, please ignore my request for a home for the Log4perl package I made. It seems that Randy has beat me to it!! Good job, Randy! jpt > -Original Message- > From: Randy Kobes [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 10:48 AM > To: John Drabinowicz > Cc: Perl Win3

Home for a Log4perl PPD?

2002-10-02 Thread Tillman, James
Title: RE: more Log4Perl questions Guys:  I sent John a PPD I just made of the Log4perl install.  He said he was looking at a deadline so I thought I'd save him some thrashing for now.  Assuming it works for him, does anyone have a home for the package?   jpt -Original Message-From

Re: more Log4Perl questions

2002-10-02 Thread Randy Kobes
On Wed, 2 Oct 2002, John Drabinowicz wrote: > Hi Gang, > > Thanks for all the help so far. > > Well I did as you suggested, > I couldn't find nmake.exe on the MS site, so I had to > install C++ 6.0, move nmake.exe to the \WINNT directory, > then uninstall C++, but I made it so far. > > Now,