On Jul 7, 2005, at 8:16, Peter Rabbitson wrote:
Hello everyone,
Most modules I run across have a BEGIN block containing some variable
declarations, module loaders etc. Although I understand what BEGIN is
(code being evaluated immediately after it is parsed), I miss the
point
of the excercise.
On Thu, Jul 07, 2005 at 02:22:34AM -0400, Casey West wrote:
> This is a confusing question, but I think the answer is that a BEGIN
> block would come into play before any of these things are executed.
>
> --
> Casey West
>
>
Sorry :) Question is: why would I want to use a BEGIN block in the
Hello everyone,
Most modules I run across have a BEGIN block containing some variable
declarations, module loaders etc. Although I understand what BEGIN is
(code being evaluated immediately after it is parsed), I miss the point
of the excercise. For example:
package csv_generator;
use Text::C