[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote: : I am getting this error, can anyone help? : : sprintf ("%.03f",($now - (stat("${hdir}${file}"))[9])/86400);
Use either of these: print sprintf "%.03f", ( $now - ( stat( "${hdir}${file}" ) )[9] ) / 86400; printf "%.03f", ( $now - ( stat( "${hdir}${file}" ) )[9] ) / 86400; Those empty areas are called "white space". :) HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>