All pastes #937737 Raw Edit

Untitled

public text v1 · immutable
·published 2008-03-11 04:31 UTC
rendered paste body
sub parseresult
{
  my @text = split( / /, @_ );
  my $temp;
  foreach (@text)
  {
    print("Text: @text\n");
    $temp = @_;
    $temp =~ s/\$bot\{(.+)\}/$bot{$1}/eg;
    print("Parsed: $temp\n"); 
  }
  return $temp;
}