well, this is a php-forum, so i'll give you a soloution in php and because i don't know perlmaybe you can port it into Perl and use folowing to get an idea:
you can get the content with javascript and redirect the page for instance to itself passing the content via the GET mehtod in the URL. E.g
HTML-Form:
<form>
<textarea>
this is the content
</textarea>
</form>
JavaScript:
<script type="text/javascript">
strTextareaContent = document.forms[0].elements[0].value;
window.location.href='self.php?str='+strTextareaContent+'';
</script>
Then in the self.php:
if(isset($GET["str"])){ // Here use the Perlarray for the Arguments passed in the URL (i have no clue what they are called)
echo $GET["str"];
}
that should be it , maybe there will come an error up in the line with window.location ... then just check the + signs and the '.
ali