Re: question about coderefs

2003-08-04 Thread Jenda Krynicky
From: Kevin Pfeiffer <[EMAIL PROTECTED]> > I'm doing an exercise with coderefs and wondering if there is much > difference between my answer and the one given... > > Here is my subroutine that returns two coderefs... > > sub gather_mtime_between { >my ($start, $stop) = @_; >my @files = ()

Re: question about coderefs

2003-07-21 Thread Todd W.
"Kevin Pfeiffer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm doing an exercise with coderefs and wondering if there is much > difference between my answer and the one given... > > Here is my subroutine that returns two coderefs... > > > In both cases the sub is called like t

question about coderefs

2003-07-21 Thread Kevin Pfeiffer
I'm doing an exercise with coderefs and wondering if there is much difference between my answer and the one given... Here is my subroutine that returns two coderefs... sub gather_mtime_between { my ($start, $stop) = @_; my @files = (); return (sub { my $timestamp = (stat $_)[9]