Getting "Hooks.pm not found" error
Hi ,
My name is Roberto.
I'm fresh in perl programming, but I've done some basic scripts to use @ my work.
I´m not having problems with perl language, my only doubt is in the first line of my perl code when I point to my perl's directory.
I'm using the follow:
#!D:\Perl\bin\perl.exe -ID:\apps\TRANSS~1\bin
(I copied this from another script)
Here we have a scheduler that calls scripts to be executed in order to automate our process. But I'm having a "Hooks.pm not found" when this scheduler execute this perl. I think this happens because he is not calling the perl script from the directory where it's saved.
What I should do in my script to execute this perl script from any directory??Is it possible??
Thanx in advance!!
Roberto
Country: Brazil
|