Hi perlmonks.. I really need some help. Anyone of you know how to use the SWISS knife?? They are short cut for accessing database from SWISSProt bank. All the packages are written in Perl. I don't understand the main packages even : Entry.pm. The function fromText.. what does it actually do??
sub fromText { my $class = shift; my $text = shift; my $fullParse = shift; my $removeInternalComments = shift; my $lineObject; unless ($text) { confess "fromText called with an empty text reference."; }; my $self = new $class; $self->{_text} = \$text; #handle internal comments and indentation if ($removeInternalComments) { my $indentation = SWISS::TextFunc::unindentLines (\$text); my $internalComments = SWISS::TextFunc::removeInternalComments(\$t +ext); $self->{_indentation} = $indentation; $self->{_internalComments} = $internalComments; }
I only know that it actually try to make the new object base on the input from the database. Thanks... This is the URL :http://swissknife.sourceforge.net/

In reply to SWISS knife... by agustina_s

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.