RE: [Perl-unix-users] deleting from array

2004-10-25 Thread Keirnan, Paul
You may also find this useful. Regards, Paul From: Bruce Hudson [EMAIL PROTECTED] Sent: Friday, 6 September 2002 10:29 PM To: Keirnan, Paul Subject:Re: [Perl-unix-users] Re: Remove item from array > That is, create a new array without one of the elements. > > I the

RE: [Perl-unix-users] CPAN recommendations are wonky -- or is it me

2003-08-14 Thread Keirnan, Paul
7;t?   How do other people handle the updating of Standard modules?   Regards, Paul   -----Original Message-From: Keirnan, Paul Sent: Thursday, 7 August 2003 5:28 PMTo: [EMAIL PROTECTED]Subject: [Perl-unix-users] CPAN recommendations are wonky -- or is it me CPAN still sh

[Perl-unix-users] CPAN recommendations are wonky -- or is it me

2003-08-14 Thread Keirnan, Paul
Title: CPAN recommendations are wonky -- or is it me CPAN still shows installed version as 1.07_00 after installing latest version (1.11). This happens for any module which is part of the original 5.8.0 build. @INC contains: [EMAIL PROTECTED]:> perl -e 'for $l (@INC) { print "$l\n"; }'

[Perl-unix-users] How to track down "Memory fault"

2003-03-13 Thread Keirnan, Paul
Title: How to track down "Memory fault" We recently upgraded several bits of software (OS, database, 3rd party app). We then experienced a performance problem (with memory management). Resetting some OS parameters seems to have cured this problem. However, during the investigations, the sys

[Perl-unix-users] Setting terminal width

2003-02-23 Thread Keirnan, Paul
Title: Setting terminal width Could someone please point me in the right direction. I wish to set the terminal width to 132 and later back to 80 from within a perl script. The script uses the PerlMenu package to display a hierarchy of menus. It has a facility to list the files in a direc

RE: [Perl-unix-users] [PMX:#] Prepending

2002-12-15 Thread Keirnan, Paul
The problem is how to concatenate the variable '$pre' to the string 'woopi.pl' without having it treated as a variable named '$prewoopi'. Try putting your filename into a variable $fname = "woopi.pl"; and use Something Bill, Is there already a good means of doing this, or

[Perl-unix-users] Re: Remove item from array

2002-09-06 Thread Keirnan, Paul
Thank you Bill. What I was really missing was the difference between @array = (); and @array = ""; I needed the first. My code then became something like (I've changed some names for legibility). > @array = ('val1','val2','val3','val4','val5'); > > @new_array = (); > foreach (@array)

[Perl-unix-users] Remove item from array

2002-09-05 Thread Keirnan, Paul
Hi, Am fairly new to Perl, so would like some pointers on the correct (elegant) way of doing the following: (It's working, so that is not a problem). I am using Net::LDAP to search and update our Novell Edirectory. One of the attributes returned is an array of "associations". Under certain circ

[Perl-unix-users] Getting response from KEA / Reflection

2001-09-02 Thread Keirnan, Paul
Greetings, I am new to both Perl (which I like) and also to Unix, although I have 25yrs experience in other languages and OSes. I am currently converting some DCL scripts from VMS to run on TRU64 Unix (on Alphas). My Perl version is perl, v5.6.1 built for alpha-dec_osf-ld. The scrip