This one is stumping me. I have a very simple driver script that literally looks like this:
The print statement is sometimes issued twice with the same PID! Any idea how that can be? There's a lot of code under the package being invoked. I checked AUTOLOAD paths and have found nothing there ... but since there's no sub, I would expect to find nothing.!/usr/local/bin/perl use strict; use Our::UI::CommandLine; print ">> [PID $$] calling ui_run\n"; Our::UI::CommandLine->ui_run();
This is on Solaris, Perl 5.6.1. It seems to happen mostly or maybe fully when I cron it. I'm running more definitive tests for that now. It also goes away if I short-circuit big calling paths below, but those are so deep it would probably take days or weeks to narrow it down that way. Stack traces, using caller() are identical. Any ideas?
In reply to main script invoked twice by steves
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |