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


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to