[EMAIL PROTECTED] wrote:
>
> 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?
perldoc perldata
perldoc perllol
p
[EMAIL PROTECTED] wrote:
>
> All,
Hello,
> was hoping anyone could provide some syntax help.
>
> I want to populate an array from a system app call like so and then
> print out each element.
>
> my @ftapes = system ("evmvol -w label_state=3|grep barcode");
> print $ftapes[0]
>
> or
>
> p
On May 25, 2004, at 2:45 PM, [EMAIL PROTECTED] wrote:
James,
yes it does thanks! Will you be so kind and answer my other question
too?
Good news. Yes, I will...
maybe I am not understanding when a multidimensional array would be
useful? when are these references useful?
is there a perldoc I can
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 th
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 multid
: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 @ftape
<[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 element
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 multidi
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 pri
t: Re: array population from system app call
On May 25, 2004, at 1:03 PM, [EMAIL PROTECTED] wrote:
> cool, but why doesn't
> my @ftapes = system ("evmvol -w label_state=3|grep barcode");
> print $ftapes[0]
>
> OR
> print $ftapes[0,1]
>
> work?
Becaus
On May 25, 2004, at 1:03 PM, [EMAIL PROTECTED] wrote:
cool, but why doesn't
my @ftapes = system ("evmvol -w label_state=3|grep barcode");
print $ftapes[0]
OR
print $ftapes[0,1]
work?
Because system() does not return the program's output, it returns exit
status.
I see that it does not support mult
ms
614-566-4145
"Halkyard, Jim" <[EMAIL PROTECTED]>
05/25/2004 01:58 PM
To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
cc:
Subject: RE: array population from system app call
To capture output you need the backticks
my @ou
On May 25, 2004, at 12:45 PM, [EMAIL PROTECTED] wrote:
All,
was hoping anyone could provide some syntax help.
I want to populate an array from a system app call like so and then
print out each element.
my @ftapes = system ("evmvol -w label_state=3|grep barcode");
print $ftapes[0];
You're lookin
2004 18:45
To: [EMAIL PROTECTED]
Subject: array population from system app call
All,
was hoping anyone could provide some syntax help.
I want to populate an array from a system app call like so and then
print out each element.
my @ftapes = system ("evmvol -w label_state=3|grep ba
All,
was hoping anyone could provide some syntax help.
I want to populate an array from a system app call like so and then
print out each element.
my @ftapes = system ("evmvol -w label_state=3|grep barcode");
print $ftapes[0]
or
print $ftapes[0,1]
The problem is it prints out all the
15 matches
Mail list logo