CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:



Feb 12, 2002, 11:32 AM

Post #1 of 3 (941 views)
@INC Can't Post

I am trying to run a .bat file that executes a script via an automated scheduling system. I can run this fine from rconsole (NT server) under my own account. But when run under a different account via our scheduler I get a message that "Can't locate in @INC at D:\cognos_server\scripts\ line 37"
"Begin failed-compliation aborted at D:\cognos_server\scripts\ line 37"

What is going on here? I see that @INC is an array containing the list of places to look for Perl scripts to be evaluated by the 'do', 'require' or 'use' constructs. I know that Perl\bin is in the system path.

Any light that someone could shed on this would be greatly appreciated.

Thanks - Bob

User / Moderator

Feb 12, 2002, 11:41 AM

Post #2 of 3 (938 views)
Re: [rwb2314460] @INC [In reply to] Can't Post

Is perl in the path for the user in question?

print unpack"u*",pack "h*",$a,"\n\n";


Feb 12, 2002, 11:50 AM

Post #3 of 3 (935 views)
Re: [fashimpaur] @INC [In reply to] Can't Post

I appreciate your help.

My NT admin tells me Perl is in the system path. So
any account logging into the server should have access to Perl. I do not have rights to log into the account.



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives