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

Re: Finding first block of contiguous elements in an array

by Aristotle (Chancellor)
on Dec 21, 2002 at 12:21 UTC ( #221616=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %handler = (
        HEADER => sub { ... },
        TITLE  => sub { ... },
    ...
        }
        $text .= " " . $curr_text;
    }
    
  2. or download this
    my %record;
    
    my %handler = (
    ...
        TITLE => sub { $record{TITLE} = $_[1] unless exists $record{TITLE}
    + },
        # ...
    );
    
  3. or download this
    my $curr_rec = 0;
    my @record;
    
    ...
        },
        # ...
    );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2020-06-05 19:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (40 votes). Check out past polls.

    Notices?