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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
@INC

 



rwb2314460
Novice

Feb 12, 2002, 11:32 AM

Post #1 of 3 (716 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 strict.pm in @INC at D:\cognos_server\scripts\ppes000.pl line 37"
"Begin failed-compliation aborted at D:\cognos_server\scripts\ppes000.pl 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


fashimpaur
User / Moderator

Feb 12, 2002, 11:41 AM

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

Is perl in the path for the user in question?
Dennis

$a="c323745335d3221214b364d545".
"a362532582521254c3640504c3729".
"2f493759214b3635554c3040606a0",
print unpack"u*",pack "h*",$a,"\n\n";


rwb2314460
Novice

Feb 12, 2002, 11:50 AM

Post #3 of 3 (710 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.

Bob

 
 


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

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