basically, BEGIN { } is a block which gets called whenever the script
begins.
On 5/1/06, chen li <[EMAIL PROTECTED]> wrote:
Dear all,
Recently I read some source codes of perl modules. I
find some codes look like this:
BEGIN {..................}
What is the function of BEGIN here?
Thank you,
Li
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html