Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I want to know what is the definition of "declaration" in perl?

Replies are listed 'Best First'.
Re: definition of declaration
by Anonymous Monk on Mar 12, 2000 at 11:32 UTC
    I meaned how declaration in perl can be defined. For example when you declare a variable. I don't know exactly how to explain. Let's say: what how can declaration be defined (on a simple variable)?
      you don't have to 'declare' variables.. they just spring in to existance when you assign to one. however, when you use strict, you 'declare' them with my().
      Sorry, dude. Quite honestly, I still have no idea what you're talking about. -- OP
Re: definition of declaration
by Anonymous Monk on Mar 12, 2000 at 03:46 UTC
    Please be more specific. Do you mean "declaration" such as a function (or class) declaration in a C (or C++) header file? Or are you just talking about variable declarations such as what use strict forces you to do?