jiangfan wrote:
> Hi,
>
> What is wrong with this statement?
>
> my $time = sprintf( "0x%08x", `date +%s` );
>
> I got
>
> "Use of uninitialized value in sprintf at /opt/MoteWorks/tos/../make/
> scripts/ident_flags line 15."
>
> Thanks.
>
> Jiangfan
>
>
>   
Works for me.  Check to ensure that "date +%s" is returning what you
expect from the command line.

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


Reply via email to