Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Get out of the loop

by bl0rf (Pilgrim)
on Sep 08, 2003 at 01:20 UTC ( #289651=poem: print w/replies, xml ) Need Help??

foreach $one ( @us ) { my $journey; while( defined( $one ) ) { open( LIFE, "< $one" ); @choice = stat(LIFE); $truth = $choice[7]; # will vary from person to person seek( FP, $truth, 1 ) || undef( $one ) and next; $journey = "has just begun"; undef( $one ) and @us = split(//,<LIFE>); } print "$one is gone\n" unless $journey =~ /begun/; }
Unwind

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: poem [id://289651]
Approved by jeffa
Front-paged by jeffa
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2018-07-19 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (411 votes). Check out past polls.

    Notices?