Re: Need help with Perl error Please

2002-02-21 Thread Michael Eggleton
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Date: Thu, 21 Feb 2002 22:09:34 -0800 Subject: Re: Need help with Perl error Please > On 2/21/02 10:00 PM, Michael Eggleton <[EMAIL PROTECTED]> > wrote: > > > Hi All, > > > > I have a problem with the Perl format c

Need help with Perl error Please

2002-02-21 Thread Michael Eggleton
Hi All, I have a problem with the Perl format command. If I use the '<' for Justify left. I get the error message: Missing right curly or square braket. So this code below does not work: format STDOUT = ZIPPKG: @<<< $zippkg

Re: parameter passing

2002-02-05 Thread Michael Eggleton
use Getopt::Long; GetOptions( "option1=s" => \$option1value ); parameters are passed to the script like this myscript --option1=option1value or myscript --option1 option1value Hope this helps. Michael D. Eggleton http://www.gorealnetworks.com mailto:[EMAIL PROTECTED] -Original Messa

RE: Problem with format command

2002-02-01 Thread Michael Eggleton
Ok, Did I ask a dumb question? or is there just no answer? -Original Message- From: Michael Eggleton [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 8:33 PM To: [EMAIL PROTECTED] Subject: Problem with format command Hello All, Here is the code for the format command: use

Problem with format command

2002-01-31 Thread Michael Eggleton
Hello All, Here is the code for the format command: use Win32::Service; push( @ARGV, Win32::NodeName() ) unless( scalar @ARGV ); foreach my $Machine ( @ARGV ) { local %List; print "Available services on $Machine:\n"; if( Win32::Service::GetServices( $Machine, \%List ) ) {

Help with database req

2002-01-30 Thread Michael Eggleton
Hi All, I have a program that I want to write, but need a very small, say command line style or flat file style database that runs on Win32 and Unix. Does anyone out there have any idea what I could use here. I was thinking BerkeleDB but I can't install the module for perl on win32 "nor c

Help with clearing an array

2002-01-13 Thread Michael Eggleton
Hello all, Could some one help me with clearing or re-setting and array. I have an array that has an unknow number of elements in it, at one point in my program I would like to clear that array or reset it so that it contains nothing. How do I do that? Thanks Michael D. Eggleton http://

Help with text files.

2001-12-19 Thread Michael Eggleton
Hello All, I have two files one contains entries that need to be placed in the other. With some parameters around it. 1. I have to check and make sure the entries are not already there (I did that using grep) 2. 3 of the lines I have to add need to be added in the middle of the file. (I do

Re: How would I E-Mail something in perl.

2001-12-12 Thread Michael Eggleton
Thanks I will check it out. Michael D. Eggleton http://www.gorealnetworks.com mailto:[EMAIL PROTECTED] -Original Message- From: Daniel Gardner <[EMAIL PROTECTED]> To: "Michael Eggleton" <[EMAIL PROTECTED]> Date: Thu, 13 Dec 2001 00:44:30 + Subject: Re: How wo

How would I E-Mail something in perl.

2001-12-12 Thread Michael Eggleton
Hi All, I'm looking for some advice on how to e-mail a log file that my Perl script creates. So here it is, I have a script that runs as an AT job on a Micro$oft Windoz 2000 server. What I would like to do is e-mail a list of users when it kicks off, and then e-mail them again with the lo

RE: a beginners challenge

2001-11-28 Thread Michael Eggleton
Yup sounds fishy... Plus it's elegant done in Java, Perls good, but elegant is Java. Michael D. Eggleton http://www.gorealnetworks.com mailto:[EMAIL PROTECTED] -Original Message- From: "Mike Rapuano" <[EMAIL PROTECTED]> To: "Zysman, Roiy" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Date: