in reply to saving datas on client-side cookie file.

Sure, with the use of CGI.pm, get some code as an example:
my $input_cookie=cookie(-name=>'cookie_name', -value=>param('input_name'), -path=>'/', -domain=>'your.domain.com', ); $q=new CGI; print $q->header(-cookie=>$input_cookie);
Where input_name (used in param) is the name of the form element which contains the data you want to send to the client. The next page, will have the cookie with the name cookie_name available.