Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

JPaul's scratchpad

by JPaul (Hermit)
on Jun 01, 2004 at 20:53 UTC ( #358580=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $Str = "AAAA001BBBB001CCCC000DDDD023EEEE012";
    my %H;
    ...
        my $i = substr($Str, 0, 3, '');
        %H{$s} = $i;
        }
    
  2. or download this
    Output:
    AAAA -> 001
    ...
    CCCC -> 000
    DDDD -> 023
    EEEE -> 012
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2023-12-06 04:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (29 votes). Check out past polls.

    Notices?