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
31       The new() method creates a new Boulder::String object.  You must pro‐
32       vide an input string and a reference to an output string.  The input
33       string may be empty.
34
35       $stream->write_record($stone)
36
37       Write the passed stone in Boulder IO format into $out_string.
38

AUTHOR

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

SEE ALSO

48       Boulder, Boulder::Stream, Boulder::Blast, Boulder::Genbank, Boul‐
49       der::Medline, Boulder::Unigene, Boulder::Omim, Boulder::SwissProt
50
51
52
53perl v5.8.8                       2000-06-08                Boulder::String(3)
Impressum