Determine if client has a dialup connection

2003-06-10 Thread Hawley, Eric
Does anyone know of a way to determine if when a client logs on, they are logging on via a dialup connection? Thanks * Eric Hawley, Network Support Programmer * Office of Information Technology * Ohio Department of Natural Resources * Phone: (614) 265-1028 *

Re: Determine if client has a dialup connection

2003-06-10 Thread Magnus Lindgren
...send them an unnecessary long file and benchmark it ;-) No, seriously, you can't. You can fake it be meassuring the transferspeed with above mentioned method but you will surely miss when people are on bad connections (could be a fast connection with bumps on the way) or if they stress their

RE: Can't locate Cisco.pm in @INC...again

2003-06-10 Thread Wermström Emma
Hi Magnus, I tried your solution and IUSR_computername now has read access to the entire Perl-directory on the web server. I still can't make it work :-( On my IIS web server I have the following properties in the Directory Security folder under Anonomous access and Authentication control:

SSL Daemon on Win32

2003-06-10 Thread Floyd Russell
After much gnashing of teeth I have come to the conclusion that I need input from the Win32 community. :) I am trying to create a client/server application that uses SSL for communication encryption. While I can write clients all day long that connect to SSL servers I can't seem to write a Perl

Re: SSL Daemon on Win32

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
You have several module options available but most require OpenSSL or SSLeay to be installed. If you compile scripts using these modules the required modules and libraries should be included and distributable without having to install OpenSSL or SSLeay on the target machine. I use the later 2.

RE: SSL Daemon on Win32

2003-06-10 Thread Floyd Russell
So how do I easily acquire these packages? They aren't in the PPM repository. Is this going to require another nightmarish bout with compiling openssl and all that jazz or have I over looked something painfully obvious? | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL

Re: Use of split function...

2003-06-10 Thread Carl Jolley
On Mon, 9 Jun 2003, Zbynek Houska wrote: dear all, I wonder how to initialize and use split function in this case: here are some datas (stored in file): 28.10.2002 06:47 DIR Almighty - Just add life 28.10.2002 06:47 DIR Anastacia - Freak of nature

Re: SSL Daemon on Win32

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
Well you can always use the Shining Light Productions binary distribution of OpenSSL for Windows (http://www.shininglightpro.com/index.php?treeloc=35). The rest of the modules are available from CPAN http://search.cpan.org. They can be built using free nmake from Microsoft

RE: Can't locate Cisco.pm in @INC...again

2003-06-10 Thread Carl Jolley
On Tue, 10 Jun 2003, [iso-8859-1] Wermström Emma wrote: Hi Randy, Do you have similar problems with any other modules? For example, if you do C:\ perl -MNet::Telnet -e print 1 is an error produced? If you make up a file Silly.pm: === #

RE: Date from string

2003-06-10 Thread Scot Robnett
Have you tried the Date::Format module? Otherwise some good old fashioned splitting or regexing might be in order. :) Scot R. inSite -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bryan Tom Team EITC Sent: Tuesday, June 10, 2003 1:26 PM To: '[EMAIL

FW: Date from string

2003-06-10 Thread Moulder, Glen
Title: Message I would like to re-format it to be more readable, something like this: 15:02:23 JUN 09 2003 try this -- %monthnames = ('00', 'Nul', '01','Jan', '02','Feb', '03', 'Mar', '04','Apr', '05','May', '06','Jun', '07','Jul',

RE: SSL Daemon on Win32

2003-06-10 Thread Floyd Russell
Ah, the fun of compiling on Windows... I installed the openssl from shining light.. I went to install Net::SSL and get this: Thoughts? C:\.cpan\build\Net_SSLeay.pm-1.22nmake Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights

easy newbie REGEX

2003-06-10 Thread alex p
All, I am really bad at REGEX's and am in need of help! I have a script that asks for users input but I need to check that the input begin with MDS(and a number 0-9) before proceeding below is something like what I am doing: print ask for input; chomp ($answer=STDIN); #(not sure which one to use

Re: SSL Daemon on Win32

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
Did you do a perl Makefile.PL before the nmake? Trevor - Original Message - From: Floyd Russell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:08 PM Subject: RE: SSL Daemon on Win32 Ah, the fun of compiling on Windows... I installed the openssl from shining

RE: SSL Daemon on Win32

2003-06-10 Thread Floyd Russell
I'm doing this through CPAN completely. Do I have to go out of CPAN do something and then try again? | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] Behalf Of | Trevor Joerges [SendMIME Software] | Sent: Tuesday, June 10, 2003 2:21 PM | To: Floyd Russell; [EMAIL

RE: SSL Daemon on Win32

2003-06-10 Thread Randy Kobes
On Tue, 10 Jun 2003, Floyd Russell wrote: Ah, the fun of compiling on Windows... I installed the openssl from shining light.. I went to install Net::SSL and get this: Thoughts? C:\.cpan\build\Net_SSLeay.pm-1.22nmake [ .. ] SSLeay.obj : error LNK2001: unresolved external symbol _SSL_CTX_new

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: easy newbie REGEX

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
You could do something like this: my $answer; do { print Question: ; chomp ( $answer = STDIN ); print Answer: $answer\n; } while $answer !~ /^MDS[0-9]/; Trevor Joerges SendMIME Software www.sendmime.com [EMAIL PROTECTED] - Original Message - From: alex p [EMAIL PROTECTED] To: [EMAIL

Re: SSL Daemon on Win32

2003-06-10 Thread Trevor Joerges \[SendMIME Software\]
Yes. Download the modules to your system and uncompress and unarchive them. Then run the standard module build commands: perl Makefile.PL nmake nmake test #optional nmake install Trevor - Original Message - From: Floyd Russell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June

Re: easy newbie REGEX

2003-06-10 Thread alex p
TY all for responding, this is the actual code(see below) -- for some unknown (to me) reason i seem to have to type the name in 2x(twice) before it goes throught the loop?? what am i missing? code print enter name\n; my $answer1 = STDIN; chomp $answer1; while ($line = ) {

Problem Using 'unlink' within Script

2003-06-10 Thread James E Keenan
On my job I have written a script which creates a plain-text file in a directory on a network server for which I have permissions (Win2K Professional, Novell Network). Since the file is only intended to be temporary, I wish to delete the file at the end of the script. Hence, my code: my

RE: Problem Using 'unlink' within Script

2003-06-10 Thread Maraglia, Dominicx
Hey James, Try this: my $tmpfile = H:/topdir/mediumdir/plaintext.txt; I had a similar problem with escaped backslashes with AS Perl on win2k -- I switched to using the / and all unlinking has worked fine after that. Cheers, Dominic -Original Message- From: James E Keenan

XML:Simple, determining a field/attribute -vs- an element/node

2003-06-10 Thread Stuart Arnold
Title: Message Hi, I'm using XML:Simple (so far does everything for me!), but I can't figure out how to distinguish the difference between these two: An "element containing a field/attribute" type, eg, AAA foo="bar"/AAA -vs- an "element/node having a value" type, eg, foobar/foo What I

RE: Problem Using 'unlink' within Script

2003-06-10 Thread Messenger, Mark
Title: RE: Problem Using 'unlink' within Script Hmm... I use 5.6.1 (635) on W2k and use unlink with escaped slashes \\ all the time. Odd. -Original Message- From: Maraglia, Dominicx [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 10, 2003 3:43 PM To: James E Keenan; Perl-Win32-Users

Re: Problem Using 'unlink' within Script

2003-06-10 Thread Stephen Patterson
On 10 Jun 03, Maraglia, Dominicx ([EMAIL PROTECTED]) wrote: my $tmpfile = H:/topdir/mediumdir/plaintext.txt; I had a similar problem with escaped backslashes with AS Perl on win2k -- I switched to using the / and all unlinking has worked fine after that. Or use single quotes

Date from string

2003-06-10 Thread Bryan Tom Team EITC
I am creating a daily report that pulls all sorts of WMI information from every server in my enterprise. I am simply looking for ideas about formatting the date returned by the eventlog. It returns in a format like so: 20030609150223.00-240 And I would like to re-format it to be