in reply to Re^2: 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

Besides shooting the consultants?

Perl 5.003_07 is old! Perl 5.004 was released in May 1997, if my reckoning is right. Did those guys clobber your 5.8 binary? If that's all, you can move theirs to /path/to/perl5_003_07.exe and recopy your proper binary back in. With ActiveState, the binary is version-labeled, so they probably didn't bother to clobber that unless they uninstalled the whole thing. Shooting's too good for them if they did that.

I'm not too familiar with winders, but you might be able to associate just their crusty script with their old perl, and let your modern installation handle everything else. On unix, all you would need to do is change the splatline.

I wonder if their old perl is even a complete installation?

You have a better chance of running old scripts on new perl than the reverse. If the contractor script won't run on new perl, you should take a hard look at its quality. If the consultants haven't updated their script in eight years of improvements to perl, consider their quality.

Update: Sorry, there's not much more I can say without looking at the scripts and the details of your installation. You can make output like that look better on pm by enclosing it in <code> . . . </code> tags. They are sort of super pre tags.

After Compline,
Zaxo

  • Comment on Re^3: Creating a script to pass dir name, basename and just *.pdf & *.tif files

Replies are listed 'Best First'.
Re^4: Creating a script to pass dir name, basename and just *.pdf & *.tif files
by pichels (Initiate) on Feb 07, 2005 at 19:39 UTC

    Zaxo,
    Yep, very old indeed.
    No, their Perl installation was their first with the app installation.
    I installed a new version afterwards but their application ENV points at their version only in PATHing.
    I tryed moving their binary to _bak and the new 5.8 to their bin dir, but my scripts are not running right? At least any scripts that have use <mod> in them? Am I doing something wrong?
    Their version is an "old" active state as mine is new. I sent an email to their support at support.ugs.com. Unfortuantely, a group in our company already hired and paid them to do their work....
    I am not sure how complete the installation is for sure...

    Location of the Application's version of Perl distro & bin dir:
    C:\UGS\tceng912\bin>dir perl* Volume in drive C has no label. Volume Serial Number is 0CF2-5BB1
    Directory of C:\UGS\tceng912\bin
    12/13/2004 09:52 AM 41,033 perl.exe
    07/02/1998 03:32 PM 87,040 perl.exe_bak
    07/02/1998 03:35 PM 564,736 perl300.dll
    07/02/1998 03:34 PM 30,720 perlglob.exe

    C:\UGS\tceng912\perl5>dir bin Volume in drive C has no label. Volume Serial Number is 0CF2-5BB1
    Directory of C:\UGS\tceng912\perl5\bin
    11/02/1999 03:53 PM 50,688 perl.exe
    11/02/1999 03:53 PM 524,288 perlcore.dll
    11/01/1999 09:53 PM 277,504 PerlCRT.dll

    Sorry about the mess below here....is there an easier way to add paragraphs and breaks in the html?
    An editor or ?

    C:\UGS\tceng912\perl5>dir lib Volume in drive C has no label. Volume Serial Number is 0CF2-5BB1
    Directory of C:\UGS\tceng912\perl5\lib >br> 01/24/2005 03:45 PM <DIR> . 01/24/2005 03:45 PM <DIR> .. 01/24/2005 03:45 PM <DIR> auto 11/01/1999 09:53 PM 10,275 AutoLoader.pm 11/01/1999 09:53 PM 10,577 Carp.pm 01/24/2005 03:45 PM <DIR> CGI 11/01/1999 04:53 PM 197,132 CGI.pm 08/19/2002 04:26 PM 137,333 Config.pm 11/01/1999 03:53 PM 10,280 Cwd.pm 11/02/1999 03:53 PM 24,422 DynaLoader.pm 11/01/1999 09:53 PM 14,579 Exporter.pm 11/01/1999 09:52 PM 2,990 Fcntl.pm 01/24/2005 03:45 PM <DIR> File 11/01/1999 03:53 PM 7,044 FileHandle.pm 01/24/2005 03:45 PM <DIR> iman 01/24/2005 03:45 PM <DIR> IO 11/01/1999 03:53 PM 3,844 lib.pm 11/01/1999 03:53 PM 3,942 re.pm 11/01/1999 03:53 PM 1,102 SelectSaver.pm 11/01/1999 04:53 PM 928 shellwords.pl 11/01/1999 03:53 PM 7,873 sigtrap.pm 01/18/2038 09:14 PM 2,271 strict.pm 11/01/1999 03:53 PM 3,893 Symbol.pm 01/24/2005 03:45 PM <DIR> Sys 11/01/1999 09:53 PM 2,473 vars.pm

    Any other suggestions?
    Thanks for any help on this issue.
    Scott