in reply to Help understand BEGIN routine
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.
|
|---|