in reply to Autoincrement table name in the database
my $x = qw(tito$e); doesn't interpolate the var $e. Use qq or double quotes instead.
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."