Fortran::Namelist

Fortran::Namelist is a Perl extension for Fortran namelists.
Download

Fortran::Namelist Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Victor Marcelo Santillan
  • Publisher web site:
  • http://search.cpan.org/~vms/Fortran-F90Format-0.40/lib/Fortran/F90Format.pm

Fortran::Namelist Tags


Fortran::Namelist Description

Fortran::Namelist is a Perl extension for Fortran namelists. Fortran::Namelist is a Perl extension for Fortran namelists.SYNOPSISuse Fortran::Namelist;my $nml_file = '/home/user/my_namelist.nml';my $nml=Fortran::Namelist->new( file => $nml_file );my %new_group = ( group_name => { grp_var1 => 'some_string', grp_var2 => , } ); $nml->set( %group ); $nml->print( file => 'another_file.nml' );Namelist implements a basic handling of standard fortan namelists. Namelist files are ascii files that allow a fortran program to transfer a group of variables by referencing the name of the group which they belong. Example of a namelist file:$group_name vec(2) = 3, 4, 5 c = 'abc' i = 3$endA namelist record starts with the name of the group preceded by '$' or by '&', followed by a sequence of variables-values with the appropriate value separators ( blanks,tabs,newlines, or any of them with a single comma). the end of the group is indicated by '$end' or by '/'. Requirements: · Perl


Fortran::Namelist Related Software