Hi Derek,
sprintf ("%.03f",($now - (stat("${hdir}${file}"))[9])/86400);
sprintf prints to a string, so you need to assign its return value to something... or print it... or simply switch to printf.
my $value = sprintf( ... ); print $value; or print sprintf( ... ); or printf( ... );
Damn that TIMTOWTDI! :-)
J-S
-- ___________________________________________ Jean-Sébastien Guay [EMAIL PROTECTED] http://whitestar02.webhop.org/
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>