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

Re: Loosing Negative Values in Array Ref

by Thelonius (Curate)
on Jun 03, 2009 at 13:41 UTC ( #768014=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $tmp->[$i] = '0' unless defined $tmp->[$i];
    
    ...
    
    $tmp->[$i] = $aref->[$i] if $aref->[$i] gt $tmp->[$i];
    
  2. or download this
    for my $aref_acc_num (values %$acc_num) {
    
  3. or download this
    for my $aref_acc_key (sort keys %$acc_num) {
        my $aref_acc_num = $acc_num->{$aref_acc_key};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-07-24 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls