This calls the named subroutine with two values: the string $Dut (which is not interpolated, because of the single quotes), and an array reference. The array reference points to an array with three values:
When you understand that, you can figure out what the other two lines are doing.
Aaron B.
My Woefully Neglected Blog, where I occasionally mention Perl.
In reply to Re: Help understand BEGIN routine
by aaron_baugher
in thread Help understand BEGIN routine
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |