in reply to Re: Exporter module help/example
in thread Exporter module help/example

perl -c sand_kidB.pm
Subroutine print_a redefined at sand_kidB.pm line 19. Subroutine set_b redefined at sand_kidB.pm line 24. Subroutine get_b redefined at sand_kidB.pm line 30.


Same for kid A.

Replies are listed 'Best First'.
Re^3: Exporter module help/example
by ikegami (Patriarch) on Nov 26, 2007 at 18:26 UTC
    perl's argument is a Perl script. sand_kidB.pm is not a Perl script. You mean
    perl -c -e'use sand_kidB'
    or
    perl -c -Msand_kidB -e1
      Syntax OK.
      Guess this is valid. TY.