here is the full output.
volid=0000000000000000 name= luname=st_9840_acs_0 slot_index=1 barcode=E01124 mtype=35 atype=0 sequence=0 mside=0 state=0 open_count=0 v_flags=0 comment= flags_value: 0x108 flags: RVM_IS_FOREIGN RVM_IS_IN_REAL_LU volid=0000000000000000 name= luname=st_9840_acs_0 slot_index=4 barcode=E01178 mtype=35 atype=0 sequence=0 mside=0 state=0 open_count=0 v_flags=0 comment= flags_value: 0x108 flags: RVM_IS_FOREIGN RVM_IS_IN_REAL_LU volid=0000000000000000 name= luname=st_9840_acs_0 slot_index=0 barcode=E01195 mtype=35 atype=0 sequence=0 mside=0 state=0 open_count=0 v_flags=0 comment= flags_value: 0x108 flags: RVM_IS_FOREIGN RVM_IS_IN_REAL_LU volid=0000000000000000 name= luname=st_9840_acs_0 slot_index=17 barcode=E01225 mtype=35 atype=0 sequence=0 mside=0 state=0 open_count=0 v_flags=0 comment= flags_value: 0x108 flags: RVM_IS_FOREIGN RVM_IS_IN_REAL_LU volid=0000000000000000 name= luname=st_9840_acs_0 slot_index=24 barcode=E01232 mtype=35 atype=0 sequence=0 mside=0 state=0 open_count=0 v_flags=0 comment= flags_value: 0x108 Derek B. Smith OhioHealth IT UNIX / TSM / EDM Teams 614-566-4145 James Edward Gray II <[EMAIL PROTECTED]> 05/25/2004 02:59 PM To: [EMAIL PROTECTED] cc: Perl Beginners <[EMAIL PROTECTED]> Subject: Re: array population from system app call On May 25, 2004, at 1:34 PM, [EMAIL PROTECTED] wrote: > ok so now I can get all elements printed using > > my @ftapes = ( ); > my @ftapes = `evmvol -w label_state=3|grep barcode`; > > foreach $_ (@ftapes) { > print $_ , "\n"; > } > > so now I want to use multidimensional arrays using print $ftapes[0,1] > does print $ftapes [0,1] mean print element 0 and element 1 or address > 0,1 > am I confusing a normal array with a MDarray? Perl arrays are not multidimensional. Using references though, we can get there. Backticks return LINES, not fields. If we want to break them down, we'll need to do that. Can you show a sample output of `evmvol -w label_state`? James