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

Re^2: Multiplication digit persistence

by jwkrahn (Abbot)
on Mar 21, 2019 at 19:21 UTC ( [id://1231557]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
        printf "\e[102m Count[$num] = %s\e[m\n\n", persist($num, $dbg);
    
  2. or download this
    
        printf "\e[102m Count[%s] = %s\e[m\n\n", $num, persist($num, $dbg)
    +;
    
  3. or download this
    
        my @dbg = ( );
        map { push @dbg, ($res *= $_) } split(//, $num);
    
  4. or download this
    
        my @dbg = map { $res *= $_ } split(//, $num);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found