Hi guys, Could you please tell me why I keep getting the following error?

Code

Can't use string ("/home/switch/erlang/data/log0901") as a symbol ref while "strict refs" in use at ./get.pl line 44.

This is my code.

Code

#!/usr/bin/perl # This file is the sendupdate.pl # This is a script that will query the MySQL database for current alarms # and send them through an SMS with Python. It will then update the MySQL database.

use strict; use warnings; use DBI; use DBD::mysql; use POSIX qw/strftime/; use Math::Telephony::ErlangB qw( :all );