RE: how to match '*'

2002-07-09 Thread Abner, Daniel
I'm not sure exactly why yours isn't working. But I'm working on a script right now and I need to do the same. I have all lines stored in @MountedVobs and used the following to extract only those that begin with "*". my @MountedVobs = grep /^\*/, @AllVobs; Dan Abner (x2654) St Jude Medical,

RE: [PMX:#] RE: Perl scripts are crashing my MS-DOS window

2002-05-22 Thread Abner, Daniel
> [EMAIL PROTECTED] wrote: > > Only if the shell for the system you are running on supports the > 2 file descriptor. Some shells (or at least one) don't because the > underlying OS philosophy is "if there are errors you should always > see them on the console because otherwise you might get

RE: capturing output from system() ...

2002-03-01 Thread Abner, Daniel
n32 users Subject:Re: capturing output from system() ... - Original Message - From: "Scott Wessels" <[EMAIL PROTECTED]> To: "Abner, Daniel" <[EMAIL PROTECTED]>; "perl win32 use

RE: where to find perlref for autovivify (was RE: Strange assignment)

2002-01-25 Thread Abner, Daniel
Here's a little help on autovivication... http://www.tlc.perlarchive.com/articles/perl/ug0002.shtml -Original Message- From: Jeffrey [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 2:38 PM To: Thiebaud Richard; Perl win32 Subject: Re: where to find perlref for autovivify (was

determine index of array element

2002-01-21 Thread Abner, Daniel
Let's say I have an array... @array = ("three", "one", "two"); and I have a variable... $var = "three"; How can I determine the index of the string "three" in the array @array (if it exists)? In this case, "0". Should I be working with hashes instead and then relying on keys

modifying (splitting) elements of an array

2002-01-08 Thread Abner, Daniel
What's an efficient way of splitting the elements of an array globally? For instance, let say an array consists of the following two elements: Bob:Jones Mary:Parker Let's say I'd like to cut each element of the array down to the string preceding the ":" colon. I can do this with a foreach loo