James,
yes it does thanks! Will you be so kind and answer my other question too?
maybe I am not understanding when a multidimensional array would be
useful? when are these references useful?
is there a perldoc I can read as well?
Derek B. Smith
OhioHealth IT
UNIX / TSM / EDM Teams
James Edward Gray II <[EMAIL PROTECTED]>
05/25/2004 03:37 PM
To: [EMAIL PROTECTED]
cc: Perl Beginners <[EMAIL PROTECTED]>
Subject: Re: array population from system app call
On May 25, 2004, at 2:24 PM, [EMAIL PROTECTED] wrote:
> here is the sample output.
>
>
> barcode=E01124
> barcode=E01178
> barcode=E01195
> barcode=E01225
> barcode=E01232
>
> maybe I am not understanding when a multidimensional array would be
> useful? when are these references useful?
I really doubt you need a multidimensional array here. The first half
of all those lines is the same and since you filtered the output to get
just that, I assume we can throw it away. You just want the codes
after the = sign, right? Let's ask for that:
my @codes = grep s/^barcode=//, `evmvol -w label_state`;
Does that get what you're after?
James