Client/Server IO::Socket

2003-02-26 Thread Carter Thompson
I need some help with writing a client and server. I'm relatively new to IO::Socket and socket programming so be gentle. ;-) Here's what I've done thus far with the Server: =-=-=-=-=-=-=-=-=-=-=-= #!C:/Perl/bin/perl.exe # use strict; use IO::Socket qw(:DEFAULT :crlf); use POSIX 'WNOHANG';

RE: Running a script more than once a day

2003-02-26 Thread Krishna, Hari
In the Scheduled Tasks you have an advanced tab where in you can mention the how many times or interval that you can repeat. See if it helps. -Original Message- From: Andrew Mansfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:41 PM To: [EMAIL PROTECTED] Subject:

RE: Running a script more than once a day

2003-02-26 Thread Krishna, Hari
Actually its not Advanced Tab, I mean to say in the Schedule tab there is an Advanced button. Click that and I feel you can do what you wanted to do. -Original Message- From: Andrew Mansfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:41 PM To: [EMAIL PROTECTED]

Re: Running a script more than once a day

2003-02-26 Thread Roger
Around Wed,Feb 26 2003, at 11:40, Andrew Mansfield, wrote: Hopefully this isn't too off topic here, but I'm interested to find out if anyone can suggest the best way to run a small perl script at regular intervals (e.g. every 15 minutes) during the weekdays on a Windows server similar to what

using win32 to mount drives?

2003-02-26 Thread Lance Hoffmeyer
Hello, Can someone point me to some info on how I can use perl to mount and unmount network drives. Currently I am using net use with a *.bat file to do this. I thought it might be easier to write a little TKperl GUI that would contain all the mountpoints to mount and unmount instead of

RE: [PMX:#] DBI SQL 2000 driver

2003-02-26 Thread Carter Thompson
Yes, I am doing this currently. This chunk of code comes from a CGI script that I use to retrieve data from the SQL database. I pre-create the SQL Statement that I want to use and pass it in as a string, for example; my $SQL = SELECT foo FROM MYTABLE WHERE id=1; my @returned_data =

RE: using win32 to mount drives?

2003-02-26 Thread Carter Thompson
H, take a look at Win32::DriveInfo and Win32::NetResource on CPAN. I don't know if this will do what you want but it appears to be related. Cheers, Carter. -Original Message- From: Lance Hoffmeyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 10:39 AM To:

RE: Running a script more than once a day

2003-02-26 Thread Carter Thompson
Actually Andrew, if you like cron and prefer that to Scheduled Tasks and AT you could always install cygwin. http://www.cygwin.com/ With Cygwin you get an editable crontab with the added bonus of having a real shell and Unix/Linux utilites. Cheers, Carter. -Original Message-

RE: Running a script more than once a day

2003-02-26 Thread Jim Bartlett
Use soon.exe, a utility from Microsoft to do just that. It is available off a Resource Kit or for free if you poke around MS's site. I use it to run a script every hour, by calling soon from within the script to reschedule itself. ie my $reschedule = `c:\\soon.exe 3600 c:\\scripts\\sieb_srv.bat`;

Archive::Zip - upper limit on # of files?

2003-02-26 Thread todd enright
Does anyone know if there is an upper limit on the number of files which can be included in a single archive when using archive::zip? If so, what other Archive package would you recommend that doesn't have any limit? Thanks! Todd Enright ___

RE: Archive::Zip - upper limit on # of files?

2003-02-26 Thread Gerber, Christopher J
-Original Message- From: todd enright [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 3:36 PM To: [EMAIL PROTECTED] Subject: Archive::Zip - upper limit on # of files? Does anyone know if there is an upper limit on the number of files which can be included in a

RE: Archive::Zip - upper limit on # of files?

2003-02-26 Thread henry isham
You can always nest your archives, if you reach the limit. -Henry -Original Message- From: todd enright [mailto:[EMAIL PROTECTED] Sent: Wed 2/26/2003 3:36 PM To: [EMAIL PROTECTED] Cc: Subject: Archive::Zip - upper limit on # of files?

Re: Help with HTML::Parser

2003-02-26 Thread Malcolm Debono
I ran the PPM verify --force which upgraded about four packages so I assume everthing is okay. I ran the script, * use strict; use HTML::Parser(); open(OUTFILE,out2.txt) || die(can not open file because $!); sub start_handler { if($_[0] eq 'input') { print OUTFILE

Using PPM

2003-02-26 Thread Gregory, Carlton
Good Evening, I am trying to use PPM but cannot get past some errors. I have looked at the docs and have boiled down some problems. My Perl is 5.8.0 build 805. I installed the Perl Dev Kit also. I also added the HTTP_proxy, HTTP_proxy_user, and HTTP_proxy_pass environment

Re: Using PPM

2003-02-26 Thread Jan Dubois
On Wed, 26 Feb 2003 17:13:35 -0500, Gregory, Carlton [EMAIL PROTECTED] wrote: Good Evening, G'day! I am trying to use PPM but cannot get past some errors. I have looked at the docs and have boiled down some problems. My Perl is 5.8.0 build 805. I installed the Perl Dev

RE: Using PPM

2003-02-26 Thread Gregory, Carlton
G'Day Jan Before I got your reply I already... stripped off 5.8.0. Stripped off Perl Dev Kit. Re installed 5.6.1 build 635. Ran PPMinstall DBI I got ppm install DBI Error: No valid repositories: Error: 407 Proxy authentication required at

RE: Newbie Quick and Dirty GUI

2003-02-26 Thread Toby Stuart
-Original Message- From: Daniel Bayerdorffer [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:08 AM To: [EMAIL PROTECTED] Subject: Newbie Quick and Dirty GUI Hello, I'm a brand spankin' newbie, so please forgive any foolish questions. I need to do some

What is running on Windows

2003-02-26 Thread Mundell, R. \(Ronald\)
Title: What is running on Windows Good Day All I am wondering what utility can one use to determine what is running under windows like the ps utility under UNIX Ronald Mundell Application Support Maintenance (Retail Corporate) Nedbank Ltd. 105 West BG3 881-3751(011) 083407

/Zi flag in ActivePerl

2003-02-26 Thread Randy Kobes
In using the ActivePerl sources for build 805 in building Perl, I noticed that the ccflags contains the -Zi flag to enable debugging information, even when in the user-configurable section of the Win32 Makefile one comments out the CFG = Debug line (which would have built a Perl with debugging

Re: Running a script more than once a day

2003-02-26 Thread Alexander Bel...
Andrew Mansfield wrote: Hopefully this isn't too off topic here, but I'm interested to find out if anyone can suggest the best way to run a small perl script at regular intervals (e.g. every 15 minutes) during the weekdays on a Windows server similar to what you can do with cron on

RE: Using PPM

2003-02-26 Thread Bro Ji, Ing. 110300
Jan, *MY* PPM resists on http://ppm-ia.ActiveState.com/PPM/ppmserver-5.8-windows.plex (DEFAULTURL) is my profile_server, but there is no such file there (only ppmserver-5.8-dave.plex, ppmserver-5.8-tj.plex and ppmserver.plex). So if I set enable-tracking to 1, the PPM prints 404 Not Found on

CALLED

2003-02-26 Thread taguti
Hi, Is there Perl built-in function, the reverse of caller? Now I'm coding many many subroutines. I like to get current name of subroutine just I'm in. ... sub sub_1 { my (@parm) = @_; my ($pkg, $filename, $line, $subname) = called; log_debug($subname start, number of parm = ,

Re: Win32::Job

2003-02-26 Thread Sisyphus
- Original Message - From: Williams, Jeff [EMAIL PROTECTED] To: 'Sisyphus' [EMAIL PROTECTED]; '[EMAIL PROTECTED]' [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 3:55 AM Subject: RE: Win32::Job I seem to be having success using sleep, but, as you said- it isn't pretty. Oh well-