GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CHEMISTRY::FILE::DUMPER (3)

.ds Aq ’

NAME

Chemistry::File::Dumper - Read and write molecules via Data::Dumper

CONTENTS

SYNOPSIS



    use Chemistry::File::Dumper;

    my $mol = Chemistry::Mol->read("mol.pl");
    print $mol->print(format => dumper);
    $mol->write("mol.pl", format => "dumper");



DESCRIPTION

This module hooks the Data::Dumper Perl core module to the Chemistry::File API, allowing you to dump and undump Chemistry::Mol objects easily. This module automatically registers the dumper format with Chemistry::Mol.

For purposes of automatic file type guessing, this module assumes that dumped files end in .pl.

This module is useful mainly for debugging purposes, as it dumps all the information available in an object, in a reproducible way (so you can use it to compare molecule objects). However, it wouldn’t be a good idea to use it to read untrusted files, because they may contain arbitrary Perl code.

OPTIONS

The following options can be used when writing a molecule either as a file or as a string.
dumper_indent Value to give to Data::Dumper::Indent. Default is 1.
dumper_purity Value to give to Data::Dumper::Purity. Default is 1.
There are no special options for reading.

VERSION

0.37

SEE ALSO

Chemistry::Mol, Chemistry::File, Data::Dumper

AUTHOR

Ivan Tubert-Brohman <itub@cpan.org>

COPYRIGHT

Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FILE::DUMPER (3) 2009-05-10

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.