Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 avoiding work at the Monastery: (3)
As of 2014-09-18 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (108 votes), past polls