Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Finding sum of numbers and storing it an Array

by choroba (Cardinal)
on Sep 21, 2020 at 10:10 UTC ( [id://11121992]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Finding sum of numbers and storing it an Array
in thread Finding sum of numbers and storing it an Array

> i am not allowed to use maps

Is it a homework? Or a workplace optimising for newbies? Or maybe some kind of cartography elimination?

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found