Re: PPM Module for DB:Oracle

2004-03-08 Thread Lobue, Mark
At 09:56 AM 3/8/2004, Randy W. Sims wrote: On 03/08/04 12:36, KENNETH JANUSZ wrote: I have implemented Perl 5.8 from ActiveState. Now I need the PPM Module for DB:Oracle. I couldn't find it on ActiveState's web site. Where can I find this module? This from Jeff Ulwin, who maintains a site wit

Re: Strange characters

2003-11-24 Thread LoBue, Mark
At 03:20 PM 11/22/2003, R. Joseph Newton wrote: "LoBue, Mark" wrote: > P.S. My company tells me that our internet mail connector now gets a long > disclaimer on the end of the message. I haven't seen it, but if it is true, > I will stop posting and just lurk until I fi

Re: how to send mail using Perl

2003-11-21 Thread LoBue, Mark
At 07:12 PM 11/20/2003, liuxu wrote: I want to send mail using perl,the following is my code. There are not any error or warning when the program run. But i can not receive the mail. Please help me ! thanks! use Net::SMTP; $smtp = Net::SMTP->new('192.168.1.169') or die "Can not connect to the mail

Re: Fedora and Findmodules Script

2003-11-21 Thread LoBue, Mark
At 06:47 PM 11/20/2003, Clint wrote: Ah that's what's up! The findmodules script is only finding those modules installed with the new version of Perl (5.8.1) that came on FC1! How can I modify the findmodules script to find modules that are available for use, even if I brought them in via CPAN u

RE: Strange characters

2003-11-20 Thread LoBue, Mark
> -Original Message- > From: david [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 10:06 AM > To: [EMAIL PROTECTED] > Subject: RE: Strange characters > > > Chetak Sasalu wrote: > > > > > Hi, > > > > I tried "export LANG=en_US" . But the esc characters > remain. Cygwin i

RE: Fedora and Findmodules Script

2003-11-19 Thread LoBue, Mark
> -Original Message- > From: Clint [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 4:53 PM > To: [EMAIL PROTECTED] > Subject: Re: Fedora and Findmodules Script > > > Yes, I have probably around 60+ modules that I had previously > dl'd prior > to the upgrade to Fedora. For

RE: Counting (easy!)

2003-11-13 Thread LoBue, Mark
> -Original Message- > From: Tore Aursand [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 3:50 PM > To: [EMAIL PROTECTED] > Subject: Re: Counting (easy!) > > > On Thu, 13 Nov 2003 16:19:32 -0500, Jimstone77 wrote: > > I have a list of email addresses in a text file one to a

RE: Playing with Numbers

2003-11-10 Thread LoBue, Mark
> -Original Message- > From: SilverFox [mailto:[EMAIL PROTECTED] > Sent: Monday, November 10, 2003 1:14 PM > To: [EMAIL PROTECTED] > Subject: Playing with Numbers > > > Hi all, i'm trying to figure out how to test if a number is > five digits and > if not add zero/s in front to make it

RE: Adding a printer remotely

2003-11-10 Thread LoBue, Mark
> -Original Message- > From: Ned Cunningham [mailto:[EMAIL PROTECTED] > Sent: Monday, November 10, 2003 12:07 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Adding a printer remotely > > > Ok, > > I have 500 remote locations. They consist of 2 networked nt > 4 sp6 worksta

RE: Died on open command

2003-11-10 Thread LoBue, Mark
> -Original Message- > From: Guay Jean-Sébastien > [mailto:[EMAIL PROTECTED] > Sent: Monday, November 10, 2003 10:43 AM > To: 'John W. Krahn'; 'Perl-Beginners' > Subject: RE: Died on open command > > > > It has nothing to do with what ActiveState did or didn't do. The > > DOS/Windows com

RE: printf? RE: help building hash on-the-fly?

2003-11-05 Thread LoBue, Mark
> -Original Message- > From: Andrew Gaffney [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 05, 2003 3:21 PM > To: [EMAIL PROTECTED] > Subject: Re: printf? RE: help building hash on-the-fly? > > > I'm going to venture a guess here. Its probably because he > needed the number printe

RE: complex condition

2003-10-30 Thread LoBue, Mark
> -Original Message- > From: Steve Gilbert [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2003 9:08 AM > To: [EMAIL PROTECTED] > Subject: complex condition > > > I know there must be a way to do the following: > > if (($foobar > 3) || ($foo="t" && $bar = "b")) {print > "yup"} >

RE: Opening a new shell

2003-10-27 Thread LoBue, Mark
> -Original Message- > From: Anthony J Segelhorst [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 5:50 PM > To: [EMAIL PROTECTED] > Subject: Opening a new shell > > > I am strapped for time on the run time on a perl script I have been > working on. > > I was wondering if it

RE: help with Very Small Perl?

2003-10-22 Thread LoBue, Mark
Another crazy idea. > -Original Message- > From: McMahon, Chris [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2003 3:24 PM > To: [EMAIL PROTECTED] > Subject: help with Very Small Perl? > > > > > Hello... > I am booting a FreeBSD system from the network via PXE. > On that

RE: alias in the shell

2003-10-21 Thread LoBue, Mark
> -Original Message- > From: Steve Grazzini [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 21, 2003 11:43 AM > To: LoBue, Mark > Cc: [EMAIL PROTECTED] > Subject: Re: alias in the shell > > > On Tue, Oct 21, 2003 at 11:35:15AM -0700, LoBue, Mark wrote: >

RE: alias in the shell

2003-10-21 Thread LoBue, Mark
Someone is missing the point, I'm not sure who yet. > -Original Message- > From: Steve Grazzini [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2003 10:10 PM > To: Smoot Carl-Mitchell > Cc: [EMAIL PROTECTED] > Subject: Re: alias in the shell > > > On Fri, Oct 17, 2003 at 04:05:10PM

RE: making a variable execute

2003-10-17 Thread LoBue, Mark
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2003 3:54 PM > To: [EMAIL PROTECTED] > Subject: making a variable execute > > > Can someone show me how to make this compute? > > my $a=2; > my $b=3; > my $oper="+"; > > my $c = $a $oper

RE: alias in the shell

2003-10-17 Thread LoBue, Mark
> > There is no way I know of for a child process to modify the > environment of > > it's parent. You might try having your perl program create a script > > somewhere in the path, then the parent could execute it. > > > > You can also get tricky by running your perl script in the current > > env

RE: alias in the shell

2003-10-17 Thread LoBue, Mark
> -Original Message- > From: Harter, Douglas [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2003 8:09 AM > To: Beginners Mailing List Perl (E-mail) > Subject: alias in the shell > > > Is it possible to create an alias in the shell from within Perl? > > I have a command I want to u

RE: how to read from more than one files at a time

2003-10-15 Thread LoBue, Mark
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2003 11:42 AM > To: [EMAIL PROTECTED] > Subject: how to read from more than one files at a time > > > Hi, > > I need to read from more than one file at a time and do some > operation

RE: working on time

2003-10-13 Thread LoBue, Mark
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 11, 2003 10:19 PM > To: [EMAIL PROTECTED] > Subject: RE: working on time > > > It's fair enough to use 86,400 sec in a day. But what about > adding days or Adding days is simply adding mul

RE: Testing Uninitialized Vars

2003-10-02 Thread LoBue, Mark
> -Original Message- > From: James Edward Gray II [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 5:20 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: Testing Uninitialized Vars > > > On Thursday, October 2, 2003, at 07:08 PM, [EMAIL PROTECTED] wrote: > >

RE: problem with date routine

2003-10-02 Thread LoBue, Mark
> -Original Message- > From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 4:42 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: problem with date routine > > > perlwannabe <[EMAIL PROTECTED]> wrote: > : > : I have a relatively simple script

RE: how to do paging of records

2003-08-14 Thread LoBue, Mark
> # QUERY THE DB FOR STATUS CODES TO BE RESOLVED AND ASSIGN TO AN ARRAY > $counter = 0; > while ($sth->fetchrow_arrayref) { > # SET THE ROW COLOR. ODD IS LIGHT SILVER, EVEN IS WHITE > if (($counter % 2) == 0) { > $bgColor = "E0E0E0"; > } else { > $b

RE: Colorize Table Elements

2003-07-23 Thread LoBue, Mark
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23, 2003 1:18 PM > To: [EMAIL PROTECTED] > Subject: Colorize Table Elements > > > I am creating a program that will display different states of > a server by creating a web page that uses the

RE: STDIN and STDOUT on Windows

2003-07-21 Thread LoBue, Mark
> -Original Message- > From: LoBue, Mark [mailto:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 9:26 AM > To: '[EMAIL PROTECTED]' > Subject: STDIN and STDOUT on Windows > > > Hello, > > I normally use perl on a unix platform, but I needed to

STDIN and STDOUT on Windows

2003-07-21 Thread LoBue, Mark
Hello, I normally use perl on a unix platform, but I needed to run a quick utility on a Windows PC. Normal stdin and stdout doesn't seem to work, take this simple program: # use warnings; use strict; while (<>) { print; } On Windows, if I run: type test.txt | test.pl I get:

RE: While loop, confused...

2003-07-02 Thread LoBue, Mark
> -Original Message- > From: Bill Akins [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 02, 2003 3:48 PM > To: [EMAIL PROTECTED] > Subject: While loop, confused... > > > Hi all! > > I have this while loop in my script: > > while (($type ne "Windows") || ($type ne "Linux")) { Right

RE: how to remove last comma in file?

2003-07-02 Thread LoBue, Mark
> -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 02, 2003 3:15 PM > To: [EMAIL PROTECTED] > Subject: Re: how to remove last comma in file? > > > Rob Dixon wrote: > > Hi Shaunn. > > > > Shaunn Johnson wrote: > > > Howdy: > > > > > > First off, many t

Child signal problem

2003-07-02 Thread LoBue, Mark
I'm having a problem in a rather large program, so I've written this small example to illustrate. What this does is fork a process, then exec in the child to run a separate program without waiting. In reality my main program doesn't end, so I need to reap the children as they finish. After I exec

RE: Socket question

2003-06-27 Thread LoBue, Mark
> -Original Message- > From: Gabor Urban [mailto:[EMAIL PROTECTED] > Sent: Friday, June 27, 2003 6:13 AM > To: [EMAIL PROTECTED] > Subject: Socket question > > > Hi, > > I am still working on a socket problem at low level, and there is > something I wander. Are Perl socket bidirectional?

RE: Re : Compilation Errors

2003-06-26 Thread LoBue, Mark
> -Original Message- > From: Derek Byrne [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2003 4:44 PM > To: 'LoBue, Mark'; Derek Byrne; '[EMAIL PROTECTED]' > Subject: RE: Re : Compilation Errors > > > Oopsie - just saw my own mistake, f

RE: Re : Compilation Errors

2003-06-26 Thread LoBue, Mark
> -Original Message- > From: Derek Byrne [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2003 4:15 PM > To: '[EMAIL PROTECTED]' > Subject: FW: Re : Compilation Errors > > > Just a note - running win2k and perl v5.8.0 (built for > MSWin32-x86-multi-thread). > > -Original Message-

RE: errors installing MD5 module

2003-06-26 Thread LoBue, Mark
> - Original Message - > From: "mario kulka" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 25, 2003 6:37 PM > Subject: errors installing MD5 module > > > > Hi, > > > > I'm trying to install the MD5 module and following the > steps from CPAN > > website. > > I g

RE: Using socket in perl

2003-06-19 Thread LoBue, Mark
> -Original Message- > From: Xavier Ambrosioni [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 19, 2003 1:26 AM > To: [EMAIL PROTECTED] > Subject: Using socket in perl > > > Hello all, > > I'm writing a server and a client in perl. My client communicates with > the server using sockets.

RE: Assigning an array to a hash

2003-06-17 Thread LoBue, Mark
> -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2003 1:00 PM > To: 'LoBue, Mark'; [EMAIL PROTECTED] > Subject: RE: Assigning an array to a hash > > > LoBue, Mark wrote: > > Hello, > > > &g

RE: Assigning an array to a hash

2003-06-17 Thread LoBue, Mark
> -Original Message- > From: Balint, Jess [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2003 12:46 PM > To: 'LoBue, Mark'; [EMAIL PROTECTED] > Subject: RE: Assigning an array to a hash > > > I think you need to store an array ref(erence). > >

Assigning an array to a hash

2003-06-17 Thread LoBue, Mark
Hello, Using Perl 5.001 (can't upgrade it, don't ask), I have tried to assign an array to the following hash reference 2 ways, but I can't seem to get it: @[EMAIL PROTECTED]; gives an error: Can't use subscript on associative array slice at ./pump.pl line 60, near "$pumpName}" and: @($pumpData{

RE: Problem running the socket programming

2003-06-04 Thread LoBue, Mark
> -Original Message- > From: anil adenan [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 01, 2003 6:10 PM > To: R. Joseph Newton > Cc: LoBue, Mark; 'Bob Showalter'; [EMAIL PROTECTED] > Subject: Re: Problem running the socket programming > > > In that c

RE: Problem running the socket programming

2003-05-31 Thread LoBue, Mark
> -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED] > Sent: Friday, May 30, 2003 11:08 AM > To: 'LoBue, Mark'; [EMAIL PROTECTED] > Subject: RE: Problem running the socket programming > > > LoBue, Mark wrote: > > ... > > On

RE: Problem running the socket programming

2003-05-31 Thread LoBue, Mark
> -Original Message- > From: anil adenan [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 29, 2003 8:43 PM > To: [EMAIL PROTECTED] > Subject: Problem running the socket programming > > > Hello, > I have a socket programming that is running smoothly in > our clients > HP UX version 10.

RE: How to Access Serial Port in Perl

2003-03-11 Thread LoBue, Mark
> -Original Message- > From: Mat Harris [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 2:50 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; David Cheng > Subject: Re: How to Access Serial Port in Perl > > > i have just tried Device::SerialPort as we need something at work >

RE: Handling race conditions

2003-03-07 Thread LoBue, Mark
> -Original Message- > From: Bakken, Luke [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 4:47 PM > To: Michael Weber; [EMAIL PROTECTED] > Subject: RE: Handling race conditions > > > It sounds like you need two things: > > 1. A faster way of storing "seen" IPs. > 2. A lock mec

RE: Handling race conditions

2003-03-06 Thread LoBue, Mark
> -Original Message- > From: Bakken, Luke [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 4:47 PM > To: Michael Weber; [EMAIL PROTECTED] > Subject: RE: Handling race conditions > > > It sounds like you need two things: > > 1. A faster way of storing "seen" IPs. > 2. A lock mec

RE: Script does not want to run, error

2003-03-06 Thread LoBue, Mark
> -Original Message- > From: mel awaisi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2003 2:11 PM > To: [EMAIL PROTECTED] > Subject: Script does not want to run, error > > > Hi, > > I am having problems opening this script on my machine. i > have been getting > help from a ve

RE: open command

2002-07-11 Thread LoBue, Mark
> -Original Message- > From: William Black [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 11, 2002 5:32 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: re: open command > > > The info in the two vars are correct. What doesen't work is > when the email > is sent it doesn't

RE: extracting a string from between parens

2002-06-26 Thread LoBue, Mark
> -Original Message- > From: bob ackerman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 26, 2002 9:07 AM > To: [EMAIL PROTECTED] > Subject: Re: extracting a string from between parens > > > > On Wednesday, June 26, 2002, at 08:48 AM, Shishir K. Singh wrote: > > >> $out = $1 if ($

RE: Initializing CPAN

2002-06-26 Thread LoBue, Mark
Just a note about FTP access in general, not specific to your problem: You need to allow TCP "Destination" ports 20 & 21. That would be "going out", not "coming from". Port 21 is the FTP control port, and port 20 is the FTP data port. You should plug that incoming FTP hole you created, if you

RE: use 5.6.1

2002-06-24 Thread LoBue, Mark
> -Original Message- > From: drieux [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 9:55 AM > To: begin begin > Subject: Re: use 5.6.1 > > > > On Monday, June 24, 2002, at 09:15 , LoBue, Mark wrote: > [..] > > Upgrading perl isn't al

RE: use 5.6.1

2002-06-24 Thread LoBue, Mark
> -Original Message- > From: drieux [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 24, 2002 7:37 AM > To: begin begin > Subject: Re: use 5.6.1 > > > > On Monday, June 24, 2002, at 07:08 , Shishir K. Singh wrote: > [..] > > You are out of luck. You have to install the latest 5.6.1 > pe

RE: Strange total from adding 2 numbers

2002-05-23 Thread LoBue, Mark
> > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, May 23, 2002 8:48 AM > > To: [EMAIL PROTECTED] > > Subject: Strange total from adding 2 numbers > > > > > > Why is the addition of the numbers -67947269.62 and > > 68288455.49, both wi

RE: what uid owns process 0?

2002-05-09 Thread LoBue, Mark
on HP-UX: ced1p:[8SICU] CHARTING> ps -p0 PID TTY TIME COMMAND 0 ?23:54 swapper -Mark -Original Message- From: drieux [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: what uid owns process 0? volks, I decided to hel

RE: what kind of data type?

2002-05-03 Thread LoBue, Mark
bout this, but i'm just not fully understanding why. i solved my problem by doing: $un = unpack("H*", $buf); now i can manipulate the value of $un however i want... is $un now what is referred to as a 'string literal'? and what kind of data type is $buf? thanks, paul &g

RE: what kind of data type?

2002-05-02 Thread LoBue, Mark
$x = 0xA; printf "%x\n", $x; result: a -Mark -Original Message- From: bob ackerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 8:55 AM To: [EMAIL PROTECTED] Subject: Re: what kind of data type? On Thursday, May 2, 2002, at 02:45 AM, Paul Weissman wrote: > > what i'm tryi

RE: shrinking code

2002-04-12 Thread LoBue, Mark
Those don't necessarily do the same thing, do they?: > print "-" x 80; Prints 80 dashes. > > while($m < 80){ > > print "-"; > > $m++ > > } Prints some number of dashes, 80 or less, depending on the initial value of $m. This could be used in check printing software, etc. (Not that I'm offering