>>>>> "MM" == Mike McClain <[email protected]> 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 ------ [email protected] -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/