use FileIO::FileIO qw(:all);
FIleIO class provides following methods:
new, Close, Open, SetMode
FleIO class serves as a base class for all classes involved in file IO. It is derived from ObjectProperty base class which provides methods not explicitly defined in Atom or ObjectProperty class using Perl's AUTOLOAD functionality. These methods are generated on-the-fly for a specified object property:
Using specified FileIO property names and values hash, new method creates a new object and returns a reference to a newly created FileIO object. By default, the following properties are initialized:
Close open file and returns FileIO.
Opens the file using file Name and Mode and returns FileIO.
Sets up file Mode and returns FileIO Default Mode value: Read. Supported Mode values:
Sets up file Name and returns FileIO.
MoleculeFileIO.pm, MDLMolFileIO.pm, SDFileIO.pm
Copyright (C) 2023 Manish Sud. All rights reserved.
This file is part of MayaChemTools.
MayaChemTools is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.