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,
> [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
n32 users
Subject:Re: capturing output from system() ...
- Original Message -
From: "Scott Wessels" <[EMAIL PROTECTED]>
To: "Abner, Daniel" <[EMAIL PROTECTED]>; "perl win32 use
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
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
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