On 10/29/07, jiangfan <[EMAIL PROTECTED]> wrote:
> What is wrong with this statement?
>
> my $time = sprintf( "0x%08x", `date +%s` );
I don't know what's wrong with it on your machine, but I'd change the
command in backticks to be Perl's time operator:
my $time = sprintf("0x%08x", time);
Does
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 "dat