in reply to Circular dependencies when using the perl syntax checker
$ echo 'package A; sub foo { }; 1' > A.pm $ echo 'package B; use A; 1;' > B.pm $ perl -w -I. -MA -wle 'use B' # no warnings here
I use A twice, once via the command line, and once indirectly by using B. The -w switch actives warnings globally, and still no warnings about redefinitions.
Maybe you could show us some code that demonstrates your problem?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Circular dependencies when using the perl syntax checker
by tomdee (Initiate) on Jul 28, 2008 at 14:51 UTC | |
|
Re^2: Circular dependencies when using the perl syntax checker
by Anonymous Monk on Jul 28, 2008 at 14:45 UTC |