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, I did the
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:
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 Win32
Dear Pals
Have anyone use or know how to
install the Win32-API-0.20 after execute the Makefile.pl 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
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
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
Dear Pals
Does anyone know what happen for
below message that got during execute nmake for make Win32-API-0.20
??
D:\Perl\Win32-API-0.20nmake install
Microsoft (R) Program Maintenance
Utility Version 1.50Copyright (c) Microsoft Corp 1988-94. All
rights reserved.
cl
-c -nologo -O1 -MD
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;
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 -
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 two
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
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 that
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-9158
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
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
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,
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.
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]
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
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
20 matches
Mail list logo