niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS » vmsperl
lib/file/spec/t/spec.t & crossplatform.t changes
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
John E. Malmberg
*nix forums Guru Wannabe


Joined: 30 May 2005
Posts: 264

PostPosted: Thu Jul 14, 2005 2:03 pm    Post subject: lib/file/spec/t/spec.t & crossplatform.t changes Reply with quote

A quick and dirty hack for spec.t so that tests will produce valid
results when the CRTL is in UNIX mode. I am sure that there is a better
way to do this.

I had the same problem with the the file that becomes vmsfspec.t, but
was unable to find a way to modify it to work with the CRTL in POSIX
mode and UNIX REPORT mode, and still have it work for the traditional
VMS modes.

In crossplatform.t, when the CRTL is in UNIX mode, and you give it the
components of a path that would be valid on UNIX, you will get a UNIX
path as a result.

-John
wb8tyw@qsl.net
Personal Opinion Only
Back to top
Michael G Schwern
*nix forums beginner


Joined: 08 Jul 2005
Posts: 27

PostPosted: Thu Jul 14, 2005 7:27 pm    Post subject: Re: lib/file/spec/t/spec.t & crossplatform.t changes Reply with quote

On Thu, Jul 14, 2005 at 12:03:01PM -0400, John E. Malmberg wrote:
Quote:
A quick and dirty hack for spec.t so that tests will produce valid
results when the CRTL is in UNIX mode. I am sure that there is a better
way to do this.

Ya know, if there's this many differences between your flavor of VMS and
the more traditional flavor rather than trying to wedge them both into
File::Spec::VMS and MM_VMS you should probably make a new subclass.
File::Spec::VMS::Unix or something.

Keep everything nice and unentangled.


--
Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern
Insulting our readers is part of our business model.
http://somethingpositive.net/sp07122005.shtml
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 8:05 am | All times are GMT
navigation Forum index » Not Unix » VMS » vmsperl
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Running php file everyday on scheduled time sachin PHP 1 Fri Jul 21, 2006 12:49 pm
No new posts Regarding thesaurus iso file Srikanth modules 0 Fri Jul 21, 2006 10:42 am
No new posts how can i get a file descriptor not used? mars system 0 Fri Jul 21, 2006 7:41 am
No new posts small GTK "Open file" dialog David Siroky Debian 0 Fri Jul 21, 2006 7:30 am
No new posts Trouble Declaring 3D Array in Header File free2klim C++ 1 Fri Jul 21, 2006 4:07 am

Bankruptcy | Mobile Phones | Fashion Jewelry | Credit Counseling | Dutch Bodybuilding Forums
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1600s ][ Queries: 16 (0.0890s) ][ GZIP on - Debug on ]