Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: subtract one array from another

by zigdon (Deacon)
on Oct 17, 2002 at 13:55 UTC ( #206023=note: print w/replies, xml ) Need Help??


in reply to Re: Re: subtract one array from another
in thread subtract one array from another

Don't you need a -1 there someplace?
perl -le ' @a = qw/a b c d/; print scalar @a; print $#a; __DATA__ output: 4 3 '

-- Dan

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2017-02-26 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (372 votes). Check out past polls.