Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Base Conversion Utility

by ikegami (Patriarch)
on Oct 29, 2008 at 03:46 UTC ( #720148=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
        my @nums = (0..9,'a'..'z','A'..'Z');
    ...
            return $number;
        }
    }
    
  2. or download this
    my $UniqueID = to_base( 62, $$ ) . to_base( 62, time );
    
  3. or download this
    print to_base( 16, 28 );
    
  4. or download this
    sub GenerateBase
    {
    ...
           sub { fr_base( $base, $_[0] ) },
        );
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2023-03-26 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?