in reply to sprintf vs. substr (for zero-padded values)

Let me answer your question with another.
I was fooling around with a benchmark program a bit earlier, and I found that C seems to be much (not slightly, but much) faster than Perl for about anything. So my question is this... Why use Perl? Is there any reason other than ease of use?

Abigail

  • Comment on Re: sprintf vs. substr (for zero-padded values)

Replies are listed 'Best First'.
Re: Re: sprintf vs. substr (for zero-padded values)
by Theseus (Pilgrim) on Jul 16, 2002 at 13:14 UTC
    Good question, Abigail... But that's a whole new can of worms. Something for Meditations on a rainy day, perhaps. ;)
      I disagree it's a new can of worms. I think that both questions have the same answer.

      Abigail