Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl ARRAY() result

by pme (Prior)
on Jan 13, 2019 at 21:54 UTC ( #1228496=note: print w/replies, xml ) Need Help??


in reply to Perl ARRAY() result

Hi pvfki
... } else { print join(',', @$included, $nextValue), "\n" if $currentGoal == $nextValue; return if $nextValue >= $currentGoal; } ...
Update And you can push the result to @results.
... } else { if ($currentGoal == $nextValue) { print join(',', @$included, $nextValue), "\n"; push @results, [@$included, $nextValue]; } return if $nextValue >= $currentGoal; } ...
HTH

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2019-12-16 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?