in reply to Re: golf anyone? (hexdump)
in thread golf anyone? (hexdump)

Nice MrNobo. You can reach a compromise in length between your two approaches using:

printf '%*vX', ' ', pop;

Replies are listed 'Best First'.
Re: Re: Re: golf anyone? (hexdump)
by John M. Dlugosz (Monsignor) on Aug 09, 2002 at 14:55 UTC
    Wow, thanks guys. I learned something useful here.

    I knew about %v, or thought I did: I didn't realize it was a modifier, or that I could change the dot to the space!

    So (reading the perlfunc docs) what is the meaning of the V modifier? I don't understand the explaination "interpret integer as Perl's standard integer type"

    —John