Um, I'm missing something here.
$meta_configs{login_cookie_expiration} is going to hold something like 15m, or 1d, or 3h.
So if I chop that, I should get:
$time_frame = "d" or "h" or "m"
and $meta_configs{login_cookie_expiration} = some_numeric_value that I use to figure out expiration.
I never use that variable again after this routine, so destroying it is of no consequence.
And, if I do the following:
my $exp = $meta_configs{login_cookie_expiration};
my $time_frame = chop($exp);
(and replace $exp in the place of the meta_config variable in the later lines), I get the same problem.
Also, the default (if, for some reason, the meta_config variable is kerfluxed) is to set an expiration date of one hour, and return to the main routine, so worst case scenario should simply be 1 hour expirations for the session, not no cookies set.