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

Re^3: what would you like to see in perl5.12?

by Corion (Pope)
on Aug 20, 2007 at 15:36 UTC ( #633851=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # perl 5.10
    sub ENDOFITERATION { undef }; # some magic value that signals the end 
    +of all values
    ...
            };
        };
    };
    
  2. or download this
    # Read incoming commands - an infinite loop/generator
    sub get_commands {
    ...
            print "$user: Executing $command\n";
        };
    };