in reply to match expression from query

The error/warning is caused by this line:

my $name = @{$sth->{NAME}} =~ /\/.*/;

and the problem is with @{$sth->{NAME}} and not with the regular expression (yet). What do you get if you say print @{$sth->{NAME}};?

Replies are listed 'Best First'.
Re^2: match expression from query
by PerlSufi (Friar) on Sep 19, 2013 at 19:19 UTC
    Hi hdb, thanks for your reply. I actually get the areas that I am 'selecting' in my query language when I print that. I am considering using Spreadsheet::ParseExcel for this task instead