develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000324.027] Conditionally evaluated subroutines

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
March 24, 2000 06:40
Subject:
Re: [ID 20000324.027] Conditionally evaluated subroutines
Message ID:
4716.953908825@chthon
>Named subroutine definitions are not things that may be eval-ed
>with a block, as the symbol table is changed as soon as the
>subroutine is compiled.  They are a run-time a nullop.

He probably doesn't understand that eval{} is just do{} with exception
handling.   That is, it's a compile thing.

--tom

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About