On Jan 4, 4:47*pm, Paul Lalli <mri...@gmail.com> wrote:
> On Jan 4, 9:16*am, Moti <motic.m...@gmail.com> wrote:
>
> > Hi Guys,
> > After I got my indigoperl to work I want to build an application that
> > get data from the html textarea parse it and then return it to the
> > same text area (deleting the original text).
> > My parser returns a perl array (@output_array) which I want to print
> > to the html text area.
> > Where can I find an example on how to perfrom this ?
>
> perldoc CGI
>
> as an example...
> use CGI qw/:standard/;
> print textarea(
> * *-name=>'mytext',
> * *-rows=>10,
> * *-columns=>50,
> * *-default=>join('', @output_array)
> );
>
> Paul Lalli
Thanks for your answer Paul, but can I use the above example in order
to write to the same textarea I read from ?
Just to calrify - I dont want to create a new html document - I just
want to read the data from my existing html textarea, process it and
then write it back to the same form.
Another question if I may, It seems that there is a limition on the
size that I can read from my textarea ( I'm reading using the
$text_area_code = $cgi->param('text_area_data'); )
It seems that if the textarea contains more than 60 lines an error is
generated by the server.
Lots of questions

I hope its OK.
Thanks, Moti.