in reply to Circular module dependencies
edited: something else is going on, not yet sure what, though.
edited: apparantly, this is some kind of nasty interaction with compiletime/runtime: this error only occurs if you load a.pm as a normal code (instead of useing a.pm):
test.pl:
end then:#!perl use lib '.'; use a;
> perl -c test.pl [ ... lots of output omitted ] test.pl syntax OK
I don't have the time to investigate this further, though.
|
|---|