my $hostmatch; while( $row = $sth->fetchrow_hashref ) { if( $host eq $row->{host} ) { $hostmatch = 1; } } #### if( param('select') and param('select') !~ /\.\./ ) { my $data = ... ... } #### my $data; if( param('select') and param('select') !~ /\.\./ ) { $data = ... ... }
## if( param('select') and param('select') !~ /\.\./ ) { my $data = ... ... } ##
## my $data; if( param('select') and param('select') !~ /\.\./ ) { $data = ... ... }