Re: timing functions

2005-05-25 Thread David Nicol
there's also POSIX::clock, for what it's worth ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Hash references

2005-05-25 Thread $Bill Luebkert
Jim Hansen wrote: > sorry, meant to throw a Subject in there > > */Jim Hansen <[EMAIL PROTECTED]>/* wrote: > > I have an INI file with data in it like: > > [Servers] > > List1 = "server01 server02 server03 server04" > > List2 = . > > Unfortunate

Re: auto-popup URL

2005-05-25 Thread $Bill Luebkert
Sharon Beall wrote: > Hello, > > I have a Perl CGI script that takes a webform (for reports) and > processes it to dynamically create a URL (to a given report). The form > and processing is completed. > > I'm stuck on the last step of how to automatically open the dynamically > built URL in a b

RE: Active Directory (LDAP)

2005-05-25 Thread Sundaram Divya-QDIVYA1
Title: Active Directory (LDAP) Hmm,   That *is* interesting. I'd be interested in your code too ... I assume that you did this over SSL?   Portability is *the* reason I chose not to use Win32::OLE. Additionally, even if you are not deploying on another platform, you need to deal with some idi

RE: Active Directory (LDAP)

2005-05-25 Thread Tevfik Karagülle
Title: Active Directory (LDAP) Hi,   I've developed a perl-based user account maintenance system for one of my customers.   Automation is done by COM + ADSI calls. They work just fine.   Have a look at http://www.itefix.no/phpws/index.php?module=announce&ANN_user_op=view&ANN_id=7 for an exam

Re: auto-popup URL

2005-05-25 Thread Petr Vileta
Use Javascript and on page after form is submited. Petr Vileta, Czech republic (My server reject all messages from Yahoo and Hotmail. Send me your mail from another non-spammer site please.) - Original Message - From: "Sharon Beall" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 25, 200

RE: timing functions

2005-05-25 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: > Hello all, > > I frequently see people on this list giving timing for functions or > algorithms. Can someone point me to the point me to the module used > for this timing? Or at least what method you used to time, I'm > assuming it's not just a stopwatch because some of

Hash references

2005-05-25 Thread Jim Hansen
sorry, meant to throw a Subject in thereJim Hansen <[EMAIL PROTECTED]> wrote: I have an INI file with data in it like: [Servers] List1 = "server01 server02 server03 server04" List2 = . Unfortunately, this line "my @Server = $List{$iniList};" ends up with the contents of List1.  Is split

RE: timing functions

2005-05-25 Thread Steve Baldwin
Time::HiRes ??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Simmons Sent: Thursday, 26 May 2005 6:33 AM To: activeperl@listserv.ActiveState.com Subject: timing functions Hello all, I frequently see people on this list giving timing for function

RE: Active Directory (LDAP)

2005-05-25 Thread Ken Cornetet
Title: Active Directory (LDAP) I've done both, and so far, I've not seen much to recommend using Net::LDAP over the Win32::OLE and ADSI. Portability would be about the only thing I can think of.   Net::LDAP works just fine for AD work, but it is relatively slow (it is pure perl), and you can'

(no subject)

2005-05-25 Thread Jim Hansen
I have an INI file with data in it like: [Servers] List1 = "server01 server02 server03 server04" List2 = . Unfortunately, this line "my @Server = $List{$iniList};" ends up with the contents of List1.  Is split the only way to pull these oout? Thanks.   use Win32 ();use strict;use warnings;use

timing functions

2005-05-25 Thread Wayne Simmons
Hello all, I frequently see people on this list giving timing for functions or algorithms. Can someone point me to the point me to the module used for this timing? Or at least what method you used to time, I'm assuming it's not just a stopwatch because some of the times were far too precise. I ad

auto-popup URL

2005-05-25 Thread Sharon Beall
Hello, I have a Perl CGI script that takes a webform (for reports) and processes it to dynamically create a URL (to a given report).  The form and processing is completed. I'm stuck on the last step of how to automatically open the dynamically built URL in a browser, whether another window or the

RE: Active Directory (LDAP)

2005-05-25 Thread Bullock, Howard A.
Title: Active Directory (LDAP) I use Win32::OLE and ADSI COM calls for my AD work.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gardner, Sam Sent: Wednesday, May 25, 2005 3:39 PM To: activeperl@listserv.ActiveState.com Subject: Active Directory (LDAP)   Doe

Active Directory (LDAP)

2005-05-25 Thread Gardner, Sam
Title: Active Directory (LDAP) Does anyone have any experience using perl to connect to Windows Active directory?  I need to think about putting together a sort of proof of concept app which would illustrate that we can successfully leverage it.  Is Net::Ldap the way to go here? Sam Gardner

RE: Hide password characters

2005-05-25 Thread Nguon, Vath
Thanks for your help. I'll try that..   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 25, 2005 9:22 AMTo: Nguon, VathCc: activeperl@listserv.ActiveState.com; [EMAIL PROTECTED]Subject: Re: Hide password charactersuse Term::Re

Re: Hide password characters

2005-05-25 Thread JKahn
use Term::ReadKey;    ReadMode( "noecho", STDIN );    print "\nPlease enter the password for $userid :";    my $password;    $password = <> ;    chomp $password ;    print "\n" ;    ReadMode ("original", STDIN) ; "Nguon, Vath" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 05/25/2005 11:2

RE: Hide password characters

2005-05-25 Thread Wagner, David --- Senior Programmer Analyst --- WGO
    At command prompt:   perldoc -q password       Wags ;) -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Nguon, VathSent: Wednesday, May 25, 2005 08:24To: activeperl@listserv.ActiveState.comSubject: Hide password characters Hello,  

Re: Perl and IIS

2005-05-25 Thread Brzezinski, Paul J
Chad I. Uretsky wrote: ActivePerl runs on IIS just fine. The only issues you might run into is finding some of the same modules that you can use on an Apache/*nix server (some, like Expect, are not available on the Windows platform). You'll just need to define the extensions you're using for y

Hide password characters

2005-05-25 Thread Nguon, Vath
Hello,   I am writing a Perl script that prompts for a password from a DOS command prompt. Since this is a password, each character typed in should be hidden or replaced with "*" so they won't be clearly visible. Does anyone know any perl module or how to do this in Perl?   -Vath       _

RE: Perl and IIS

2005-05-25 Thread Chris Cappelletti
Using the perl dll (which you should do because it's supposed to be much faster being that it only loads once) is also simple. You would just put in \perlis.dll (note no %s') instead of \perl.exe "%s" %s under the home directory configuration. If your're using IIS6 then you need to also Expand se

RE: Perl and IIS

2005-05-25 Thread Chad I. Uretsky
ActivePerl runs on IIS just fine. The only issues you might run into is finding some of the same modules that you can use on an Apache/*nix server (some, like Expect, are not available on the Windows platform). You'll just need to define the extensions you're using for your perl scripts, and tell

Perl and IIS

2005-05-25 Thread Moreno, Javier
Hi all, I am running an Apache server with Perl and it is running beautifully. However, I found out I have a corporate policy to use IIS so I have to migrate. Is there a good way to have IIS run Perl without issues? Regards, Javier Moreno ___ Active

Re: Process Running Time

2005-05-25 Thread Offer Kaye
On 5/24/05, Guohong Hu <[EMAIL PROTECTED]> wrote: > > Hi, I am reading a text file (XML) and for each chunk of the file content, I > run a subroutine (sub1) to analyze it. A problem I met is after a certain > point of the input file (for example, after chunk #100), the sub1 suddenly > gets signif