VMS::Filespec

VMS::Filespec provides routines to simplify conversion between VMS and Unix syntax when processing file specifications.

use VMS::Filespec;
$fullspec = rmsexpand('[.VMS]file.specification'[,'default:[file.spec]']);
$vmsspec = vmsify('/my/Unix/file/specification');
$unixspec = unixify('my:[VMS]file.specification');
$path = pathify('my:[VMS.or.Unix.directory]specification.dir');
$dirfile = fileify('my:[VMS.or.Unix.directory.specification]');
$vmsdir = vmspath('my/VMS/or/Unix/directory/specification.dir');
$unixdir = unixpath('my:[VMS.or.Unix.directory]specification.dir');
candelete('my:[VMS.or.Unix]file.specification');

Leave a comment

Your email address will not be published. Required fields are marked *