I've written a perl script that involves a few functions from the command line:
-------------------------
<...a bunch of code...>
chdir "c:\\Lint";
$mycmd = "lin -os(perloutput.tmp) $listfiles";
system $mycmd;
-----------------------------
This perl script runs fine when called directly from the command line. However, I've
set it up as a trigger in Perforce to be called whenever some file is submitted. And
it doesn't work! When I comment out these three lines from the script, Perforce can
submit, but otherwise, it just hangs. Why doesn't "chdir" and "system" work or what
alternatives can I try?
Thank you muchly,
Karen
--
_______________________________________________
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free!
http://www.net2phone.com/cgi-bin/link.cgi?143
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl