Okay, I have my Perl script and I declared my variables. I have a lot of variables, over 50 and it is too time consuming having to type out each variable name, is there a more efficient way to declare my variables?
This is what I have ...
my $frm = new CGI;
my $NAME = $frm->param('NAME');
my $UID = $frm->param('UID');
..
..
print MAIL "Name: $NAME\n";
print MAIL "UId: $UID\n";
It'll be time consuming having to type these out so many times from declaring the variable, setting up the print statements and setting up the print output to screen results.
Any suggestions appreciated.
This is what I have ...
my $frm = new CGI;
my $NAME = $frm->param('NAME');
my $UID = $frm->param('UID');
..
..
print MAIL "Name: $NAME\n";
print MAIL "UId: $UID\n";
It'll be time consuming having to type these out so many times from declaring the variable, setting up the print statements and setting up the print output to screen results.
Any suggestions appreciated.