RE: testing CGI without webserver on NT?

2002-06-10 Thread Mike Rapuano
HI -- You need to execute the perl script. Change the permissions in IIS to execute BUT make sure that you don't have write set as well;) Mike -Original Message- From: Alaric J. Hammell Sent: Mon 6/10/2002 4:09 PM To: [EMAIL PROTECTED]

RE: What database would your recommend?

2002-06-07 Thread Mike Rapuano
Camilo -- If you've done any research at all you would know that learning perl will not make you less marketable. And if I were you, I would not Marry myself to one scripting language;) Mike -Original Message- From: Camilo Gonzalez Sent: Fri

RE: @INC

2002-05-06 Thread Mike Rapuano
As an alternative, how about this... short sweet and lazy;) BEGIN { $current_dir = 'd:\\my_directory'; push(@INC, $current_dir); } print @INC\n; -Original Message- From: drieux Sent: Mon 5/6/2002 4:07 PM To: [EMAIL PROTECTED]

RE: commenting perl

2002-04-23 Thread Mike Rapuano
=cut multi line comment =cut __DATA__ Mike -Original Message- From: Shaun Fryer Sent: Tue 4/23/2002 6:37 PM To: Perl Beginners Cc: Subject: commenting perl Is there a simple way to

RE: ODBC - win2k

2002-04-22 Thread Mike Rapuano
I would recommend Win32::ODBC from http://www.roth.net Its really easy to use Mike -Original Message- From: Eduardo Cancino [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 4:11 PM To: List Beginners Perl Subject: ODBC - win2k Hi everybody, i'm new to perl and i want to

RE: Counting pairs in a hash.

2002-04-17 Thread Mike Rapuano
$total = keys %hash; Mike -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 12:44 AM To: 'Glenn Cannon '; '[EMAIL PROTECTED] ' Subject: RE: Counting pairs in a hash. I'm sure there is a better way, but you could do it this way:

RE: usefulness of perl for production?

2002-03-22 Thread Mike Rapuano
HI Rebecca -- I an still a newbie but I really learned alot from this tutorial: http://www.netcat.co.uk/rob/perl/win32perltut.html After you go thru this tutorial then give learning perl a try. I bet it will be alot easier then:-) Best of luck; perl is really good for windoze admin stuff.

Task::Scheduler Nice Windows module

2002-03-22 Thread Mike Rapuano
HI all -- Awhile ago I posted a question about accessing Windows Task Scheduler from Perl. Unfortunately, I didn't get a response. Anyways, I found a nice module and wanted to let everyone know incase someone wanted to use Task Scheduler from perl. http://taskscheduler.sourceforge.net Check

Win32::Scheduler No documentation

2002-03-19 Thread Mike Rapuano
Hi all -- Maybe I'm missing something but it doesn't look like there is any documentation for Win32::Schduler:-( I don't know C so I'm having a heck of a time trying to figure this one out. Does anyone have documentation on this one? Sample code for creating a task? I'm looking to use the run

RE: Another simple program which wont work.

2002-01-12 Thread Mike Rapuano
#!/usr/bin/perl-w use strict; my @a= (1, 2, 3, 4); foreach my $word(@a){ print $word ; } try this... Mike -Original Message- From: rabs [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 12, 2002 8:01 PM To: [EMAIL PROTECTED] Subject: Another simple program which wont work. Hi

Add remove programs windows ??

2002-01-09 Thread Mike Rapuano
I would like to be able to retrieve the same list that pops up in a window when (on 95 NT4) you click the 'Add Remove/ programs' applet in Control Panel. Anybody got any ideas? Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Add remove programs windows ??

2002-01-09 Thread Mike Rapuano
Thanks Jenda and Jason; I think you're right!! I was checking on MS's website and here's a URL incase anyone is interested: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q247501 thanks again:-) Mike -Original Message- From: Jenda Krynicky [mailto:[EMAIL PROTECTED]] Sent:

RE: compare between two arrays

2002-01-02 Thread Mike Rapuano
from the perl FAQ: @array1 = (1..10); @array2 = (5..15); @union = @intersection = @difference = (); %count = (); foreach $element (@array1, @array2) { $count{$element}++ } foreach $element (keys %count) { push @union, $element; push @{ $count{$element} 1 ?

RE: a beginners challenge

2001-11-28 Thread Mike Rapuano
Huh, sounds fishy... Good try;) M. -Original Message- From: Zysman, Roiy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 1:19 PM To: '[EMAIL PROTECTED]' Subject: a beginners challenge Hi All, Why not make a little challenge .. Lets see who can write the most lean

RE: How to delete hash element

2001-11-20 Thread Mike Rapuano
is it possible to delete a key along with the element?? -Original Message- From: Daniel Gardner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:50 PM To: Ahmed Moustafa Ibrahim Ahmed Cc: [EMAIL PROTECTED] Subject: Re: How to delete hash element Tuesday, November 20,

RE: Periodic Auto Start

2001-10-04 Thread Mike Rapuano
Task scheduler for windows. You can manage task scheduler thru windows with the Win32::AdminMisc module Mike -Original Message- From: Gibbs Tanton - tgibbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 04, 2001 2:04 PM To: 'Eric Wang '; '[EMAIL PROTECTED] ' Subject: RE: Periodic

RE: Formatting text

2001-08-28 Thread Mike Rapuano
HI all -- I was searching for a diff-like perl tool for NT and came accross this persons code. Worked well for me. Mike -Original Message- From: Gibbs Tanton - tgibbs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 10:34 AM To: 'Najamuddin, Junaid '; '[EMAIL PROTECTED] '

RE: How does Apache invoke Perl interpreter: OT please don't reply

2001-08-23 Thread Mike Rapuano
test -Original Message- From: Qichao Dong (Leon) [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 2:21 PM To: [EMAIL PROTECTED] Subject: How does Apache invoke Perl interpreter Hi, I want to do some research on Perl's transplantability, so I would like to know how an Apache

Sending emails: Question newbie

2001-08-23 Thread Mike Rapuano
Hi all -- I'm trying to send an email with an attachment from the below code (Gary MacDonald posted the code on activestate. Thanks Gary:-). The code works fine to send email to my Imail Server (type of nt mail server) but when I try to send a message to either ny yahoo mail account or my

RE: Sending emails: Question newbie

2001-08-23 Thread Mike Rapuano
HI -- Has anyone had a similar problem when sending email with attachments?? Thanks Mike -Original Message- From: Mike Rapuano Sent: Thursday, August 23, 2001 2:07 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; Mike Rapuano Subject: Sending emails: Question newbie Hi all

RE: passing values to sub

2001-08-05 Thread Mike Rapuano
I'm just a beginnner BUT why not use HashRef for the @hits array to make all data going to sub sonic a scalar values Then sub sonic would be... sub sonic { my ($numhits, $maxhits, $hits) = @_; ... } YOu would just need to deference the reference. MIke