in reply to Re: Re: What is sprintf doing?
in thread What is sprintf doing?

Sorry, but I do not understand what you are doing here at all.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Replies are listed 'Best First'.
Re: Re: Re: Re: What is sprintf doing?
by McMahon (Chaplain) on May 25, 2004 at 18:46 UTC
    My source data array is actually more like:

    Item1 - 2 foo, 2 bar argle bargle Item2 - 0 foo, 1 bar floogle Item3 - 1 foo, 3 bar Item4 - 1 foo, 2 bar choogle


    I used the regex in the foreach to remove everything that causes the "uninitialized" and "isn't numeric" messages.

    But I still seem to need the regex in the sprintf statement, to make the sort come out right.