in reply to Re: Re: Passing arguments to callback routines with named references
in thread Passing arguments to callback routines with named references

I don't think that is right.

You're not building the closure -- you're just calling the coderef.

  • Comment on Re: Re: Re: Passing arguments to callback routines with named references

Replies are listed 'Best First'.
Re: Re: Re: Re: Passing arguments to callback routines with named references
by liz (Monsignor) on Jul 15, 2003 at 15:21 UTC
    You're right, it should have read:
      sub callback { sub { shift->( @_ ) } }
    
    Liz