in reply to Re^2: Invoking API
in thread Invoking API
scalar localtime((stat($filename))[9]) is not a variable (although its result varies, of course), so I guess variable interpolation doesn't help here.
Here, I'd use the string concatenation operator, like this:
text =>$config_data[$i][0] . " Information Last Updated at: " . lo +caltime((stat($filename))[9]) );
My perl is a bit rusty (peak use was at the turn of the century), but AFAIR the scalar can be omitted here
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Invoking API
by mcoblentz (Scribe) on Jul 05, 2013 at 21:24 UTC |