A begin block should do the trick in your script...
BEGIN {
push (@INC, "\\\\workstatwithperl\shareforperl\\perl\\lib",
"\\\\workstatwithperl\shareforperl\\perl\\site\\lib"
);
}
So, you'd be running the proggie like so... Or maybe from a batch file.
"\\\\workstatwithperl\shareforperl\\perl\bin\\perl.exe
\\\\workstatwithperl\shareforperl\\perl\\scripts\\somescript.pl"
It may be slow if you are "use"ing a lot of modules since they have to
be read over the network.
Steven
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ryan Simpson
Sent: Tuesday, August 03, 2004 1:31 PM
To: [EMAIL PROTECTED]
Subject: perl runtime
I am curious if anyone knows how to create a little script that can run
on a users computer that does not have perl in order to run perl
scripts? I have the pdk packager, but was wondering if there is another
way.
I basically have two scripts on want to run, once calling the other. I
cannot figure out how to do this without having perl installed on the
computer.
Any suggestions would be appreciated!
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs