Larsen, Errin M HMMA/IT wrote:
>
> Ok ... So I tried this:
>
>   # perl -MO=Deparse -nae 'print $f[4]' /some/directory/somefile
                                   ^^^^^

>   LINE: while (defined($_ = <ARGV>)) {
>       our(@F) = split(" ", $_, 0);
>       print $f[4];
              ^^^^^

>   }
>   -e syntax OK
>
> My question now is, where did the @f array come from?  I searched
> through the perlvar perldoc page, but I only found an explanation for
> the @F array.  Is this an example of Perl making a typo?  Or is the @f
> array a secret array I'm not cleared to know about?

The @f array is there because YOU put it there.  Of course in this case it
will not contain anything.


John -- use Perl; program fulfillment

--
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