Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

sum of matching elements in an array

by sickboy (Initiate)
on Apr 13, 2001 at 10:42 UTC ( [id://72305]=perlquestion: print w/replies, xml ) Need Help??

sickboy has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: sum of matching elements in an array
by dvergin (Monsignor) on Apr 13, 2001 at 11:13 UTC
    sickboy, this has the feel of a homework assignment... But whether or not that is the case, you will receive much better help if you take a stab at the problem yourself.

    For starters, without worrying about producing any Perl code, how would you break this task down into several smaller tasks. Just state the sub-tasks in plain English.

    Once you have this outline, take a shot at the first task and show us your work and describe what happened or where you are stuck and why.

    Working in steps this way, you will receive generous help. Ask us to solve your problem for you and the responses will be a bit less patient.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-23 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found