On Tue, Aug 19, 2008 at 12:55 PM, Arun <[EMAIL PROTECTED]> wrote:
> What is wrong with this string.
>
> $send_data = (print strftime "::DATA::123456789101112,%d.%m.%y,%H:%M:
> %S,13.0076367,77.5489267,0,933.4,AirTel,31,0", gmtime);
>
>

print considers strftime as a file handler here.
you need print (strftime ...) as the explict statement.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to