Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

@F[6] vs. $F[6] - The Wrong Answer

by Elgon (Curate)
on Feb 21, 2003 at 00:01 UTC ( #237277=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $_(@F)  # For each value in the list called @F
    {
        # Do stuff...
    }
    
  2. or download this
    if ($F[6])    # If the seventh individual value in @F is true
    {
        # Do stuff
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://237277]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-03-25 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.