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  -  BOULDER::STRING (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



   #!/bin/perl
   # Read a B<Stone> from stdin and create a string that can be
   # passed to a dumb sub, which doesnt know about Stones.
   use Boulder::Stream;
   use Boulder::String;
  
   my $stream = Boulder::Stream->newFh;
  
   # read a stone from stdin
   my $record = <$stream> );

      print $stream $record;
    }



DESCRIPTION

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

Boulder::Stream METHODS

CW$stream = Boulder::Stream->new($in_string,\$out_string);

The <B>B>new()<B>B> method creates a new <B>Boulder::StringB> object. You must provide an input string and a reference to an output string. The input string may be empty.

CW$stream->write_record($stone)

Write the passed stone in Boulder IO format into $out_string.

AUTHOR

Lincoln D. Stein <lstein@cshl.org>, Cold Spring Harbor Laboratory, Cold Spring Harbor, NY. This module can be used and distributed on the same terms as Perl itself.

Patches and bug fixes contributed by Bernhard Schmalhofer <bernhard@biomax.de>.

SEE ALSO

Boulder, Boulder::Stream, Boulder::Blast, Boulder::Genbank, Boulder::Medline, Boulder::Unigene, Boulder::Omim, Boulder::SwissProt
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 BOULDER::STRING (3) 2000-12-04

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