in reply to Re: Creating a script to pass dir name, basename and just *.pdf & *.tif files
in thread Creating a script to pass dir name, basename and just *.pdf & *.tif files
Hi Zaxo, Thanks for the quick reply! The code works great on my machine with Perl 5.8...but, I am trying to run on a machine that has this version of perl! (This all runs in a "modified" DOS cmd window that sets all kinds of PATH's for the custom application)
C:\Perl\Weir_scripts>perl -c import_prod.pl
Ambiguous use of eval => resolved to "eval" => at ..\lib/re.pm line 81.
Perl 5.006 required--this is only version 5.00307, stopped at ..\lib/File/Basena
me.pm line 142.
BEGIN failed--compilation aborted at ..\lib/File/Basename.pm line 142.
BEGIN failed--compilation aborted at import_prod.pl line 3.
C:\Perl\Weir_scripts>perl -v
This is perl, version 5.003_07
I need these ENV vars:
C:\Perl\Weir_scripts>set IMAN
IMAN_BIN=c:\ugs\tceng912\bin
IMAN_DATA=c:\ugs\imandata\testdata
IMAN_DB_CONNECT=infodba:tbwiabd@test
IMAN_DISABLE_FLASH=true
IMAN_HELP_FILE=c:\ugs\tceng912\web\htdocsimanhelp\imanhelp.hlp
IMAN_INCLUDE=c:\ugs\tceng912\include
IMAN_INIT_DIR=C:\DOCUME~1\ADMINI~1.WIL\LOCALS~1\Temp\1
IMAN_LANGUAGE=c:\ugs\tceng912\lang
IMAN_LIBRARY=c:\ugs\tceng912\lib
IMAN_LOCALIZATION_DIR=en
IMAN_LOG=c:\ugs\imandata\testdata\log_wilmsntch5_test
IMAN_MSG_ROOT=c:\ugs\tceng912\lang\textserver
IMAN_PRINTER=lpr.exe
IMAN_ROOT=c:\ugs\tceng912
IMAN_SYS_UID_DIR=c:\ugs\tceng912\lang\vt100
IMAN_TMP_DIR=C:\DOCUME~1\ADMINI~1.WIL\LOCALS~1\Temp\1
IMAN_TRACEBACK=ON
IMAN_UG_DEFAULT_PART=c:\ugs\imandata\testdata\blank_english.prt
IMAN_USER_TOOLS=c:\ugs\tceng912\local\tools
IMAN_XML_ENCODING=ISO-8859-1
C:\Perl\Weir_scripts>set ORACLE
ORACLE_HOME=c:\ugs\tceng912
ORACLE_SERVER=wilmsntch5
ORACLE_SID=test
Here is where they store and access the perl binary:
C:\UGS\tceng912\bin>dir perl.exe
Volume in drive C has no label.
Volume Serial Number is 0CF2-5BB1
Directory of C:\UGS\tceng912\bin
07/02/1998 03:32 PM 87,040 perl.exe
1 File(s) 87,040 bytes
0 Dir(s) 12,339,765,248 bytes free
C:\UGS\tceng912\bin>perl -v
This is perl, version 5.003_07
What can I do?
I am afraid that I can;t jsut copy the new 5.8 Perl binary(perl.exe) to this dirsctory and go from there.
Or can I?
Are there depends, dll's or the like to worry about?
Even application depends too?
Any help is greatly appreciated!!
Thank-you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Creating a script to pass dir name, basename and just *.pdf & *.tif files
by Zaxo (Archbishop) on Feb 07, 2005 at 18:28 UTC | |
by pichels (Initiate) on Feb 07, 2005 at 19:39 UTC |