Re: BEGIN <> BEGIN
- From: "Paul Lalli" <mritty@xxxxxxxxx>
- Date: 31 May 2006 08:37:44 -0700
Bob Anastasia wrote:
Ferry Bolhar wrote:
I understand that a "use <module> <vars>;" is similar tothis doesnt look like perl to me, is this a mod or style i am not
BEGIN {
Are these BEGIN blocks special in some way? Are
require <module>;
<module>->import(<args>);
}
familiar with? this looks more like C or C++
You need to read
perldoc perlmod
if you don't recognize BEGIN{} blocks.
Paul Lalli
.
- References:
- BEGIN <> BEGIN
- From: Ferry Bolhar
- Re: BEGIN <> BEGIN
- From: Bob Anastasia
- BEGIN <> BEGIN
- Prev by Date: accessing hash values with %hash->{foo} ?
- Next by Date: system call problem under Win32
- Previous by thread: Re: BEGIN <> BEGIN
- Next by thread: Re: BEGIN <> BEGIN
- Index(es):
Relevant Pages
|
|