Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: adding to an array from foreach loop

by poj (Abbot)
on Jan 10, 2018 at 21:43 UTC ( #1207091=note: print w/replies, xml ) Need Help??


in reply to adding to an array from foreach loop

#push (@total, $fileslistcount); #$total = @total; $total += $fileslistcount;
poj

Replies are listed 'Best First'.
Re^2: adding to an array from foreach loop
by flieckster (Scribe) on Jan 10, 2018 at 21:54 UTC
    well that was simple. thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2022-06-29 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (96 votes). Check out past polls.

    Notices?