Config::PFiles::Path

Manipulate PFILES path for IRAF Compatible parameter files
Download

Config::PFiles::Path Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Diab Jerius
  • Publisher web site:
  • http://search.cpan.org/~djerius/

Config::PFiles::Path Tags


Config::PFiles::Path Description

Manipulate PFILES path for IRAF Compatible parameter files Config::PFiles::Path is a Perl module to manipulate PFILES path for IRAF Compatible parameter files.SYNOPSIS use Config::PFiles::Path; $path = Config::PFiles::Path->new( \%options); # append to writeable or readonly directories $path->append( RW => @dirs ); $path->append( RO => @dirs ); # prepend to writeable or readonly directories $path->prepend( RW => @dirs ); $path->prepend( RO => @dirs ); # extract directories @rw_dirs = $path->extract( 'RW' ); @ro_dirs = $path->extract( 'RO' ); # replace writeable or readonly directories @rw_dirs = $path->replace( RW => @dirs ); @ro_dirs = $path->replace( RW => @dirs ); # remove writeable or readonly directories @rw_dirs = $path->remove( 'RW' ); @ro_dirs = $path->remove( 'RO' ); # create a sring version of the path $pfiles = $path->export; # work directly on $ENV{PFILES} Config::PFiles::Path->append( RO => @dirs );Config::PFiles::Path manipulates the parameter file path used by IRAF "compatible" parameter interfaces (IRAF (of course), CIAO's cxcparam, MARX's libpfile, INTEGRAL's PIL). The path is composed of two sets of directories; the first is both user readable and user writeable, the other is only user readable. The path is kept in the PFILES environmental variable, and takes the form rw1:rw2;ro1:ro2where directories to the left of the semicolon are user readable and writeable and those to the right are readable only. Requirements: · Perl


Config::PFiles::Path Related Software