Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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


Comment on Re: Re: Re: subtract one array from another
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://206023]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2014-10-23 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (129 votes), past polls