1Boulder::String(3)    User Contributed Perl Documentation   Boulder::String(3)
2
3
4

NAME

6       Boulder::String - Read and write tag/value data from a string.
7

SYNOPSIS

9          #!/bin/perl
10          # Read a B<Stone> from stdin and create a string that can be
11          # passed to a dumb sub, which doesn't know about Stones.
12          use Boulder::Stream;
13          use Boulder::String;
14
15          my $stream = Boulder::Stream->newFh;
16
17          # read a stone from stdin
18          my $record = <$stream> );
19
20             print $stream $record;
21           }
22

DESCRIPTION

24       Boulder::String provides access to Boulder IO hierarchical tag/value
25       data.  Stone objects printed to the tied string are appended to the
26       string in Boulder format.
27

Boulder::Stream METHODS

29   $stream = Boulder::Stream->new($in_string,\$out_string);
30       The new() method creates a new Boulder::String object.  You must
31       provide an input string and a reference to an output string.  The input
32       string may be empty.
33
34   $stream->write_record($stone)
35       Write the passed stone in Boulder IO format into $out_string.
36

AUTHOR

38       Lincoln D. Stein <lstein@cshl.org>, Cold Spring Harbor Laboratory, Cold
39       Spring Harbor, NY.  This module can be used and distributed on the same
40       terms as Perl itself.
41
42       Patches and bug fixes contributed by Bernhard Schmalhofer
43       <bernhard@biomax.de>.
44

SEE ALSO

46       Boulder, Boulder::Stream, Boulder::Blast, Boulder::Genbank,
47       Boulder::Medline, Boulder::Unigene, Boulder::Omim, Boulder::SwissProt
48
49
50
51perl v5.28.0                      2000-12-04                Boulder::String(3)
Impressum