Shawn schreef: > Chris: >> I'm working on yet another exercise from Intermediate Perl. I've >> been given a script that searches for files that fall between a two >> timestamps. For the exercise, I am supposed to write the >> gather_mtime_between subroutine that will return two references to >> two subroutines. One will use File::Find that will find the files >> that were modified between the two timestamps. The other function >> should return a list of the found items. >> > > Why do people who write these books have exercises of little > practical value?
An exercise needs to be educational. > closure introduce another layer of compile/run to the program. They > should be avoided. Why would a "closure introduce another layer of compile/run"? A closure carries an environment, so just call it an object. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/