Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Base Conversion Utility

by ikegami (Pope)
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://720148]
[stevenlm87]: Needs help. I am taking an online class for perl and is using Padre. How can I get a list from the input in this code? print "What are your favorite hobbies? "; my $hobbies = <STDIN>; chomp $hobbies; print "Your favorite hobbies are '$hobbies'\n";

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-02-23 19:48 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (350 votes). Check out past polls.