RE: Perl and authentication using LDAP

2003-11-25 Thread Edgington, Jeff
Install perl-ldap module. use net::ldap $ldap = Net::LDAP->new('your-server-here', port => 389, version => 3) || die "failed: $@"; $mesg = $ldap->bind('[EMAIL PROTECTED]', password => $pw); $mesg->code && die "bind failed: $mesg->error"; More to it than the above, but that will bind you to th

RE: Number format

2003-08-01 Thread Edgington, Jeff
Title: Message Can't you just use sprintf?     $a = 0.255;   $b = sprintf("%.2f", $a);   print "$b\n";       -Original Message-From: Peter Eisengrein [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 8:54 AMTo: 'Krishna, Hari'; [EMAIL PROTECTED]Subject: RE: Numbe

RE: download patches.

2003-07-08 Thread Edgington, Jeff
Not sure if you have investigated Microsoft's Software Update Services (SUS - http://www.microsoft.com/windows2000/windowsupdate/sus/default.asp)... it may be what you are looking to achieve. jeff e. -Original Message- From: Peter Guzis [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08,

RE: Staroffice 6.0

2002-12-28 Thread Edgington, Jeff
Title: Message That's a commercial suite now (http://www.staroffice.com/)... if you OpenOffice.org (http://www.openoffice.org/) is where you need to go to get the equivalent to 6.0 but in the open form.     -Original Message-From: Mundell, R. (Ronald) [mailto:[EMAIL PROTECTE

RE: Emailing using Mail::sendmail

2002-09-29 Thread Edgington, Jeff
Title: Message you can take a look at what I'm using... not sure if it'll help you much.   use Mail::Sendmail;   #---#  Email information#---$to_address = '[EMAIL PROTECTED]'; $from_address = '[EMAIL PROTECTED]';$smtp_server = 'smtp.umr.edu';     $subject = "Moving $userid";$message = "Mov

RE: Dave Roth's web site

2002-09-18 Thread Edgington, Jeff
ppm install http://www.roth.net/perl/packages/win32-daemon.ppd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 2:39 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Dave Roth's web site Does anybody know

RE: make perl script 'hidden'

2002-09-08 Thread Edgington, Jeff
hrm... I _think_ that instead of issuing 'perl ' you would invoke 'wperl ' jeff e. -Original Message- From: T&C Winquist [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 08, 2002 9:17 AM To: [EMAIL PROTECTED] Subject: make perl script 'hidden' I have a scheduled task on my win95 a

RE: How to Setup and Run Perl Script as Service in windows 2000?

2002-09-07 Thread Edgington, Jeff
win32::Daemon... I think this is far superior to srvany but if you insist on using a method similar to below, the win2k resource kit has what you are looking for (instsrv.exe I believe). -Original Message- From: Jitendra Soam [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 07,