HI Guys
Sorry for this but I need to know how to Unsubscribe. Any ideas ??
Regards
-----Original Message-----
From: Eric Roode [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 2:22 PM
To: [EMAIL PROTECTED]
Subject: Re: explicitly declare closures???
John Porter wrote:
>
>Dave Mitchell wrote:
>> ie by default lexicals are only in scope in their own sub, not within
>> nested subs - and you have to explicitly 'import' them to use them.
>
>No. People who write closures know what they're doing.
>
>When's the last time someone "accidentally" wrote a closure?
People using mod_perl do it all the time:
http://www.perlreference.com/mod_perl/guide/obvious.html
I don't agree with the original proposal, since 'use diagnostics'
will tell you about closures -- but people DO create closures by
mistake, and it can be a very difficult bug to trace if you aren't
used to closures.
----------------------------------------------------------------------
Eric J. Roode [EMAIL PROTECTED]
Senior Software Engineer, Myxa Corporation
Email Disclaimer
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.