Re: from intermediate perl book on closure and callback

2008-06-19 Thread John W. Krahn
Richard Lee wrote: trying to understand closure perldoc -q closure and callback(bit over my head but) while I think i grasp most of the ideas from below program.. I don't think I understand why ( ) is needed in my $sum = $subs{$_}{GETTER}->( ); #!/usr/bin/perl use warnings; use strict

Re: from intermediate perl book on closure and callback

2008-06-18 Thread Jenda Krynicky
From: Richard Lee <[EMAIL PROTECTED]> > trying to understand closure and callback(bit over my head but) > > while I think i grasp most of the ideas from below program.. I don't > think I understand why ( ) is needed in > > my $sum = $subs{$_}{GETTER}->( ); Because $subs{$_}{GE

Re: from intermediate perl book on closure and callback

2008-06-18 Thread Chas. Owens
On Wed, Jun 18, 2008 at 20:02, Richard Lee <[EMAIL PROTECTED]> wrote: > trying to understand closure and callback(bit over my head but) > > while I think i grasp most of the ideas from below program.. I don't think I > understand why ( ) is needed in > > my $sum = $subs{$_}{GETTER}->( ); snip You

from intermediate perl book on closure and callback

2008-06-18 Thread Richard Lee
trying to understand closure and callback(bit over my head but) while I think i grasp most of the ideas from below program.. I don't think I understand why ( ) is needed in my $sum = $subs{$_}{GETTER}->( ); #!/usr/bin/perl use warnings; use strict; use File::Find; sub create_find_callback