Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Stubborn as a Saint

by Ovid (Cardinal)
on Apr 26, 2001 at 22:07 UTC ( #75844=monkdiscuss: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %author = map  { /^\d{6}$/ ? $_ : [ split( /\|/, $_, 2 ) ] }
              map  { split( /=/, $_, 2 ) } 
              grep { /^\d{6}=[^|]+\|/ } <FH>;
    
  2. or download this
    my %author;
    while (<FH>) {
    ...
        my($l, $r)  = split /=/, $_, 2;
        $author{$l} = [ split /\|/, $r, 2 ];
    }
    
  3. or download this
    my %author;
    while (<FH>) {
        next unless /^(\d{6})=([^|]+?)\|(.*)/;
        $author{$1} = [ $2, $3 ];
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://75844]
Approved by root
help
Chatterbox?
[choroba]: timestamps are hard
[1nickt]: not all all yet
[1nickt]: the stable subversion of each major version on the platform I have in my hands most of the day
[Tux]: choroba can't you up the default stack size to 17?
[1nickt]: and I will maybe add the other subversions
[1nickt]: I am on MacOSX and there is a sore lack of testing resources for CPANTS I think
[choroba]: Tux Why? It works for me with 16 :-)
[Tux]: and the defailt is 15?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2017-09-19 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (228 votes). Check out past polls.

    Notices?