http://qs321.pair.com?node_id=56145


in reply to Zero Padding

Sounds an awful lot like a high school homework project to me. (Or part of one at least)

Replies are listed 'Best First'.
Re: Re: Zero Padding
by rlk (Pilgrim) on Feb 03, 2001 at 06:09 UTC
    Maybe, but the seeker didn't just copy and past the assignment, like some others. He asked for the best way to perform a very specific task, and demonstrated that he had read the docs enough to know that (s)printf was the right function to use, and even had a working, though suboptimal solution. A "this is homework" disclaimer is always nice, but I think this post is ok without it (even assuming it is homework).

    --
    Ryan Koppenhaver, Aspiring Perl Hacker
    "I ask for so little. Just fear me, love me, do as I say and I will be your slave."