>>>>> "MM" == Mike McClain <mike.j...@cox.net> writes:

  >> INIT {

  MM> This is the solution I needed.

  MM> Absolutely a big help.
  MM> Not only did you supply an explanation but a solution.
  MM> Best answer possible.

not to rain on your parade but from your point of view INIT and BEGIN
are the same thing. they may execute at different times but both execute
before the main line code runs. you don't see INIT nearly as much as
BEGIN since not much code needs that small difference in execution
timing. i would stick with BEGIN since it is more common and more will
know what it means.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to