Re: Perl programming question

2006-07-27 Thread Mark.Berryman
I sent a message to this forum nearly two weeks ago asking for hints about how to convert a particular MUMPS construct into a Perl construct. I recevied several helpful answers and have been able to implement a solution. I'd like to thank everyone who kindly took the time to respond. Here is the

RE: Perl programming question

2006-07-18 Thread Boyd, Robert L
Thanks for the suggestions Craig. I'm having a bit better result -- not sure if this error message about the manifest file is causing trouble -- the file is in the directory -- why would it squawk about it not being there? I tried with traditional and extended filename parsing -- same result. $

RE: Perl programming question

2006-07-17 Thread Boyd, Robert L
in the "how to install" sections. I'll try moving the kits to another disk and retry. -Original Message- From: "Craig A. Berry" <[EMAIL PROTECTED]>@DUKEPOWER Sent: Monday, July 17, 2006 10:28 PM To: Boyd, Robert L Cc: vmsperl@perl.org Subject: RE: Perl p

RE: Perl programming question

2006-07-17 Thread Craig A. Berry
At 7:52 PM -0400 7/17/06, Boyd, Robert L wrote: >I'm trying to add some modules to my Perl setup on VMS 7.3-2. > >I am finding the process of reading the instructions for doing this a >bit confusing. I ftp'ed a kit such as the fileutils kit in tgz format >to a directory somewhere. > >Is there a pa

RE: Perl programming question

2006-07-17 Thread Boyd, Robert L
I'm trying to add some modules to my Perl setup on VMS 7.3-2. I am finding the process of reading the instructions for doing this a bit confusing. I ftp'ed a kit such as the fileutils kit in tgz format to a directory somewhere. Is there a particular directory under the perl_root that I'm suppose

Re: Perl programming question

2006-07-16 Thread Michael G Schwern
On 7/14/06, Alan Winston - SSRL Central Computing <[EMAIL PROTECTED]> wrote: Somebody who knows something should respond to this, really, but a WAG at how to do this, if your hash is static once set up: my $ordinal, $index, %ordinalhash, %indexhash; $ordinal = 0; foreach $index (sort keys %your

Re: Perl programming question

2006-07-16 Thread Michael G Schwern
On 7/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: MUMPS arrays use alphanumeric indicies with a defined collating order. Numeric subscripts collate first, in numeric order, followed by string subscripts in ASCII order. Thus, an array with the following indicies would collate in this orde

Re: Perl programming question

2006-07-16 Thread Michael G Schwern
On 7/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The MUMPS language provides a function, called $ORDER, which takes an argument and returns the next index that exists in the array that would come after the supplied argument (a 2nd argument can be used to cause the function to return the p

hash order (was Re: Perl programming question)

2006-07-15 Thread Craig A. Berry
At 11:20 AM -0700 7/14/06, Alan Winston - SSRL Central Computing wrote: >Mark Berryman wrote: > >> Also, is there any defined order in which a hash is stored? > >I probably ought to know that. I _suspect_ it's just stored in the order >you inserted stuff into it. I really don't know how much garb

Re: Perl programming question

2006-07-15 Thread Alan Winston - SSRL Central Computing
Mark Berryman wrote: > I have been tasked with converting all of the network utilities I've written > over the years in MUMPS into a language likely to be known by more people. > Most of it will be converted to Perl. So far the conversion hasn't presented > to many difficulties but there is one

Re: Perl programming question

2006-07-14 Thread Craig A. Berry
At 10:54 AM -0800 7/14/06, [EMAIL PROTECTED] wrote: >I have been tasked with converting all of the network utilities I've written >over the years in MUMPS into a language likely to be known by more people. >Most of it will be converted to Perl. So far the conversion hasn't presented >to many diffi