in reply to Re: Circular dependencies when using the perl syntax checker
in thread Circular dependencies when using the perl syntax checker

I was thinking of something more like:

echo 'package modA; use modB; sub foo { }; 1' > modA.pm
echo 'package modB; use modA; 1;' > modB.pm
perl -c -w modA.pm
Subroutine foo redefined at modA.pm line 1.
modA.pm syntax OK

  • Comment on Re^2: Circular dependencies when using the perl syntax checker