in reply to Subroutine redefined
and:package TestPm; use strict; use warnings; use TestPm2; sub foo { print "foo\n"; } 1;
Doing a 'perl -c TestVar.pm' will spit out the Subroutine redifined error. I know its kinda circular thing, but I am really surprised perl can't handle this, so I am guessing that _I_ am not handling it correctly.package TestPm2; use strict; use warnings; use TestPm; 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Subroutine redefined
by ikegami (Patriarch) on Aug 16, 2006 at 03:42 UTC | |
by Anonymous Monk on Aug 16, 2006 at 03:51 UTC | |
by ikegami (Patriarch) on Aug 16, 2006 at 04:01 UTC | |
|
Re^2: Subroutine redefined
by GrandFather (Saint) on Aug 16, 2006 at 03:39 UTC | |
by Anonymous Monk on Aug 16, 2006 at 03:55 UTC |