Help for this page

Select Code to Download


  1. or download this
        foreach my $num (split /::/ => $value) {
    
  2. or download this
    my @value_tokens = split /::/, $value;
    foreach my $value_token (@value_tokens) {
    
  3. or download this
           Here's how a C programmer might code up a particular algo-
           rithm in Perl:
    ...
           rather than merely terminating the inner one.  And it's        
    +          
           faster because Perl executes a "foreach" statement more
           rapidly than it would the equivalent "for" loop.
    
  4. or download this
        if $found:
            next;
        }