I'm trying to nail down why my script seems to just quietly fail when
running. It seems that trying to import variables is failing:

This is test.pl:

#!/bin/perl
use Env;
print "foo!\n";
print "CVSROOT=$CVSROOT\n";

This works fine from the command prompt.

Scheduled it this way: 
at 8:03 cmd /c "c:\perl\bin\perl.exe c:\home\test.pl > c:\output.txt"

When it runs, nothing is in output.txt. Comment out use Env and it works,
but has nothing for CVSROOT, of course.

I've also found that other imports seem to have it
quietly fail, too. For example, use Date::Manip qw(ParseDate UnixDate);

TIA,
-- 
Sean LeBlanc:[EMAIL PROTECTED]  
http://sean-leblanc.blogspot.com/
I'd like to meet the guy who invented beer and see what he's working on now. 
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to