On Oct 30, 2:23 pm, [EMAIL PROTECTED] (Kevin Viel) wrote: > > -----Original Message----- > > From: Paul Lalli [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 30, 2007 12:23 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Pragmas use strict and use warnings > > ...no lexical with that name... > > ^^^^^^^ > > > ...to declare a lexical of that name > > ^^^^^^^ > > How else might one describe a lexical? A short variable name (or assignment > to a symbol table) specific to the current package?
Exactly the opposite. A lexical variable has nothing to do with the symbol table and does not belong to any package. A lexical variable is a variable that exists only for the duration of it's lexical scope. That is, only until the end of the inner-most enclosing block in which it was defined, or the end of the file if it was not enclosed in any block. Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/