in reply to
perl syntax check hangs $(perl -c)
I know it sound peverse, but -c does a compilation, and some code will run at compile time. Any code in the body of a module, or in BEGIN blocks, will be run when a
use
statement is found. Looks like one of the modules is trying to connect.
Comment on
Re: perl syntax check hangs $(perl -c)
Replies are listed 'Best First'.
Re^2: perl syntax check hangs $(perl -c)
by
merlyn
(Sage)
on Dec 28, 2007 at 20:00 UTC
Yes...
perl -c 'BEGIN { sleep 86400 }'
will seem to take a day just to compile!
--
Randal L. Schwartz, Perl hacker
[reply]
[d/l]
In Section
Seekers of Perl Wisdom