Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Untillian Headache or about the semantic of until

by BrowserUk (Pope)
on Feb 11, 2013 at 20:33 UTC ( #1018236=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (
        ! $no_error_opening_file
        and !( eof and $need_not_process_beyond_eof )
        and ! $found_all_elements_I_was_looking_for 
    ) {
    
  2. or download this
    until( 
        $no_error_opening_file 
        or ( eof and $need_not_process_beyond_eof )
        or $found_all_elements_i_was_looking_for 
    ) {
    
  3. or download this
    open FH ... or die ...;
    while( <FH> ) {
        my $foundEverything = processLine( $_ );
        last if $foundEverything;   
    }
    
  4. or download this
    open FH ... or die ..;
    until( eof FH ) {
    ...
        my $foundEverything = processRecord( $line1, $line2 );
        last if $foundEverything;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-07-29 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls