- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- perl library path on vms alpha
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 09:48 AM
тАО06-16-2009 09:48 AM
i have the following perl version on vms-alpha 8.3 -
> perl -version
"This is perl, v5.8.6 built for VMS_AXP"
when i execute a script, including a module via "use blabla.pm" (located in DNFS3167:<$RDSUNIX.SHARE_RDSTST.LIB>), i get the following error:
Can't locate c_tool_newdb.pm in @INC (@INC contains: /DNFS3167/<$RDSUNIX/SHARE_R
DSTST/LIB perl_root:[lib.VMS_AXP.5
_8_6] perl_root:[lib] perl_root:[lib.site_perl.VMS_AXP] perl_root:[lib.site_perl
] /perl_root/lib/site_perl .) at ada_perftst_newdb.plx line 3.
BEGIN failed--compilation aborted at ada_perftst_newdb.plx line 3.
%RMS-E-FNF, file not found
I defined PERLLIB and PERL5LIB (consisting only my lib-directory), via:
define PERLLIB DNFS3167:<$RDSUNIX.SHARE_RDSTST.LIB>
define PERL5LIB DNFS3167:<$RDSUNIX.SHARE_RDSTST.LIB>
">dir PERL5LIB" - shows me the correct directory content ...
Does anyone know, what my problem is?
Except PERL5LIB/PERLLIB there are only 2 more logicals:
"PERLSHR" = "RDS2T$DKA0:[SYS0.SYSCOMMON.PERL5_8_6]PERLSHR.EXE"
"PERL_ROOT" = "RDS2T$DKA0:[SYS0.SYSCOMMON.PERL5_8_6]"
Greets and many thanks!!,
Simon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 10:20 AM
тАО06-16-2009 10:20 AM
Solution@INC contains: /DNFS3167/<$RDSUNIX/SHARE_RDSTST/LIB
you can see that it has translated the path to Unix syntax but failed to recognize the the '<' as a directory delimiter. This is reproducible like so in Perl 5.10.0 (the latest released version):
$ perl -e "print VMS::Filespec::unixify('foo:
/foo/
When I get home tonight I'll check if it still looks that way in the unreleased development code (there has been a lot of work done lately in the area of filespec handling).
In the meantime I would simply suggest using square bracket syntax or even putting PERL5LIB directly into Unix syntax:
$ define PERL5LIB "/DNFS3167/$RDSUNIX/SHARE_RDSTST/LIB"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 10:35 AM
тАО06-16-2009 10:35 AM
Re: perl library path on vms alpha
C is its own quagmire around filename syntax and filename translation and filename translation controls, and keeping whatever filename syntax used as simple as feasible is best. There's no way I'd want to get near a C application with angle brackets; that's just asking for parsing failures.
Best to avoid angle bracket syntax entirely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 11:56 AM
тАО06-16-2009 11:56 AM
Re: perl library path on vms alpha
thanks! Tomorrow i will try your suggest to avoid <> brackets ... i'll tell you more about the result, tomorrow! greets
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 11:42 PM
тАО06-16-2009 11:42 PM
Re: perl library path on vms alpha
so it is... problem fixed!
Replaced <> through []
Greets!
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 11:43 PM
тАО06-16-2009 11:43 PM
Re: perl library path on vms alpha
in perllib/perl5lib library path - use [] instead of <> brackets in directory assignments!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 01:22 AM
тАО06-17-2009 01:22 AM
Re: perl library path on vms alpha
first, let me welcome you to the VMS forum!
Secondly, for the way to say "Thanks" here, please see
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 06:32 PM
тАО06-17-2009 06:32 PM
Re: perl library path on vms alpha
http://perl5.git.perl.org/perl.git/commitdiff/5ad5b34c
This will likely next appear in Perl 5.10.1 (due any month now) or maybe 5.10.2. But avoiding angle brackets when not necessary is certainly the better part of valor.