I’m new to perl and I’ve mainly worked with php in the past,
usually to check if a get variable is equal to something and then do something else if it is, i’d simply do
if ($_GET['page'] == 'news') {
echo 'yessss';
}
but I’m not really sure what to do with perl :$ could anyone help me out? 🙂
Thanks!
In Perl, the module of CGI exists,
http://perldoc.perl.org/CGI.html#SYNOPSIS
and
->paramgets an input parameter.