I have some debugging commands in my script, and I am getting this error:
Expand|Select|Wrap|Line Numbers
- Software error:
- Undefined subroutine &main::Vars called at /web/lubbockonline.com/cgi-bin/notice.cgi line 6
the input 'NAME' of the radio buttons is 'sorry' and the 'VALUES' are the text that I want to correspond with each button. Would this make sense with running this script (notice.cgi) that uses 'sorry' as a varible?
Expand|Select|Wrap|Line Numbers
- #!/usr/bin/perl -T
- use strict;
- use CGI ':standard';
- use CGI::Carp 'fatalsToBrowser';
- use Data::Dumper;
- my %input = Vars();
- print header('text/plain');
- print Dumper %input;
- use CGI qw/:standard/;
- my $str = param('sorry') || 'Nothing entered';
- print header,
- start_html(-title=>'delay in delivery',-bgcolor=>'#FFFFFF'),
- h2('The following will be added to the Lubbock Online Homepage:<br/>',$str),
- end_html;
thank you!