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

Re: Finding first block of contiguous elements in an array

by Aristotle (Chancellor)
on Dec 21, 2002 at 12:21 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://221616]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-29 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found