- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Perl on VMS
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
Forums
Discussions
Discussions
Discussions
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
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
10-31-2003 01:22 AM
10-31-2003 01:22 AM
Does anyone have any helpful tips on using Perl on VMS (Apache), particularly the command differences for functions?
Are there any good VMS Perl references on the Web that I should look at?
Thanks in advance, Rob.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2003 01:48 AM
10-31-2003 01:48 AM
Re: Perl on VMS
$ perldoc perlvms
or go to
http://www.perldoc.com/perl5.8.0/pod/perlvms.html
Check out the (slightly out of date) page at:
http://www.sidhe.org/vmsperl
Send mail to vmsperl-subscribe@perl.org to join the vmsperl mailing list, and/or check out the list archives at:
http://www.xray.mpe.mpg.de/mailing-lists/vmsperl/
But depending on what you're doing there may not be that many differences from UNIX versions of Perl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2003 02:09 AM
10-31-2003 02:09 AM
Re: Perl on VMS
I wondering about file-open modes. All of the documentation I've read (limited so far) doesn't seem say anything about opening files in shared mode or private mode.
Also, I can't see anything about indexed files and index/key reads.
Am I jumping ahead of myself (Chapter 4) or is this something Perl can't handle?
Cheers, Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2003 02:14 AM
10-31-2003 02:14 AM
Re: Perl on VMS
FYI: These have nothing to do with VMS/UNIX problems. It's a VERY smooth (though timely) build. I wish that this would apply to all OpenSource software ;-)
BTW - it seems 5.8.2 is out as well but I'm not certain that's for VMS as well.
(Off topic, but still: on perl.org, you get 'stable.tgz', via the vmsperl site, you get 'latest.tgz'. What's the difference?)
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2003 02:53 AM
10-31-2003 02:53 AM
SolutionFile open modes can be handled much the same way they are in the extensions to creat(), fopen(), etc. avalable in C. Look at the docs to creat() in the CRTL manual. Then, for the corresponding access in Perl, look at:
$ perldoc VMS::Stdio
The VMS::Stdio extension is included in the core build.
For working with RMS indexed files, you'll need the add-on extension named, appropriately enough,
VMS::IndexedFile. See
http://search.cpan.org/~bhughes/VMS-IndexedFile-0_02/
Willem, the difference between "latest" and "stable" depends on where things are in the development cycle. Often they are the same, but when a new version is released, it is given the "latest" designation and then also considered "stable" if nothing too ugly turns up after the release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2003 03:16 AM
10-31-2003 03:16 AM
Re: Perl on VMS
shr=STRING
File sharing options. Choose one of the following:
del
Allows users to delete.
get
Allows users to read.
mse
Allows mainstream access.
nil
Prohibits file sharing.
put
Allows users to write.
upd
Allows users to update.
upi
Allows one or more writers.
Just what I was looking for!!
Cheers, Craig.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2003 11:33 AM
11-01-2003 11:33 AM
Re: Perl on VMS
an example how to use VMS::Indexedfile (and a number of other modules ;-) can be found at
http://zinser.no-ip.info/vms/sw/notes/perl_mod.pl
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 08:24 AM
11-03-2003 08:24 AM
Re: Perl on VMS
You should have a look at Python for Vms
available at
vmspython.dyndns.org
or at the mirrors.
Regards
Gerard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 09:02 AM
11-03-2003 09:02 AM
Re: Perl on VMS
without starting a flame war ;-), as we used to say back in the days when I still was in Physics: You can write Fortran programs in any programming language ;-)
In this context here, you can write programs that are easy to maintain in Perl, Python, Cobol or DCL. You can also write programs that are next to impossible to maintain in any of these languages. It really depends more on the programmer and the culture in your organization than on the language you use. Having said that, I do admit that the obfuscated Perl contest certainly is much more fun than an obfuscated Cobol contest would be (although there are people out there who would claim Cobol to be obfuscated by design ;-)
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 08:07 PM
11-03-2003 08:07 PM
Re: Perl on VMS
Personally I would use different languages for different types of jobs.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 10:00 PM
11-03-2003 10:00 PM
Re: Perl on VMS
See an example of accessing an indexed file with Python at
http://vmspython.dyndns.org/docs/python_vms/reference_manual_003.html#example_7-1
I find it quite easy to read and maintain.
I agree with you, Martin.
regards
Gerard