in reply to Re^3: P248 programming perl
in thread P248 programming perl

1)Why does the Doggy.pm need the "#1;"?

Just to clarify holli's point, the value of the last statement in the module file to be evaluated must be true. That's why, in Doggie.pm the "1;" line is not the last line of the file; the subsequent lines consist entirely of subroutine definitions, which are not evaluated.

the lowliest monk