agustina_s has asked for the wisdom of the Perl Monks concerning the following question:
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/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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SWISS knife...
by PrakashK (Pilgrim) on Jan 16, 2002 at 23:33 UTC | |
|
Re: SWISS knife...
by Alex the Serb (Monk) on Jan 16, 2002 at 16:06 UTC |