"Barry Treahy, Jr." <[EMAIL PROTECTED]> wrote on 09/25/2003 02:16:50 PM:
> This is great news, thank you.  I'm new to Perl on VMS, not to Perl in
> general, and I've already completed the 5.8.0 build on a VAX running VMS
> 7.2.  The problem I'm running into, appears to be VMS related.  For
> example, a simple CPAN install like:
>
> perl -MCPAN -e 'install Bundle::DBI'
>
> or
>
> perl -MCPAN -e shell
>
> does nothing.  It goes off and returns back nothing, no results, no
> errors...  I did find that DCL symbols can get in the way, such as
> having INSTALL defined:
>
> CHARON$ sh sym install
>   INST*ALL == "$SYS$SYSTEM:INSTALL/COMMAND"

It may not be the case that CPAN.pm works on VMS as well as it
does on other non-VMS systems.  You might need to mess with your
netconfig setttings a bit, but the big portability hurdle would
be that terminal drivers implicitly called by CPAN (perhaps
Term::Readline?) do not play well with VMS terminals (if I recall
the problems specific to CPAN correctly - the situation might
be different nowadays).

One difference that I wanted to call your attention to was the fact
that running perl on VMS does not change the nature of the DCL
shell that you run on the command line.  A consequence is that
instead of the first command that you gave you would need to alter
the quotation of the arguments a bit:

perl "-MCPAN" -e "install Bundle::DBI"

would be the proper way to invoke perl to do what you wanted.
Unfortunately it may not install Bundle::DBI for you since
CPAN may still not work OK on VMS.  Experimentation is called
for.

> But never the less, if I remove all local and global symbols, still no
> joy.  I don't suppose 5.8.1 deals with any of this, or are these
> behavior problems a by product of running Perl on VMS and if it is the
> later, does anyone have a FAQ of all the bullets to learn and avoid so I
> can start moving forward?

README.vms and perlvms.pod are very good starting points.
See also:

http://www.sidhe.org/vmsperl/index.html
(appears out of date - mentions 5.6.1)

http://magnonel.guild.net/~schwern/cgi-bin/unix2vms/

http://www.xray.mpe.mpg.de/mailing-lists/vmsperl/

Peter Prymmer

Reply via email to