At 12:30 PM 3/6/00 -0500, Jerome LAURET wrote:

>         Hello there,
>
>         Here we go : another OpenVMS7.2 problem but related to
>perl this time so I thought that this group would be able to
>answer this quickly.
>
>         I am using perl version 5.004_04 built on VMS_AXP.
>         I haven't recompiled perl since a long time ...
>         I haven't added any module for some time.
>         It used to work all fine and nicely.

7.2, or 7.2-1 with patches? I've got the same setup here (5.004_04 built 
for who knows what version of VMS, VMS 7.2-1, CGI) that works fine.

>         Now if I do
>$ perl -e "use CGI;"    ! Some scripts uses this
>
>         I get
>
>Fatal VMS error (status=100052)

Hmmm. %RMS-F-SYN, file specification syntax error.

Apparently it doesn't like the \ in there.

>  at PERL_ROOT:[000000]VMS.C;1, line 3700 at
>/perl_root/lib/CGI.pm line 2735.
>BEGIN failed--compilation aborted at -e line 1.
>
>         I do not have the source anymore

It's blowing chunks in cando_by_name

>but the CGI.pm says
>on that line :
>         do {$TMPDIRECTORY = $_; last} if -d $_ && -w _;
>
>         the returned directory is \usr\tmp\var\tmp\tmp (??) and
>individual test -e/-w would be a success on such directory.
>
>         Any idea of what's going on and/or how to patch it ?

Try editing line 95 and change this:

    VMS=>'\\'

to this:

    VMS=>'/'

and see if it works better. Also, do you have a TMP, TEMP, VAR, or USR 
logical? And does this maybe have its home on an ODS-5 disk?

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to