# storing data $s->param("name", "Sherzod"); # or $s->param(-name=>"email", -value=>'[email protected]'); # retrieving data: my $name = $s->param("name"); # or my $email = $s->param(-name=>"email"); print qq~Hello <a href="mailto:$email">$name</a>~;
Example 1: Basic CGI::Session syntax.