in reply to Re: Re: One-liner ascii/bin
in thread One-liner ascii/bin

Hi, You are getting a lot closer now. (With the last two onliners.) I get a "Can't find string terminator "'" anywhere before EOF at -e line 1." when trying them. But they do look a bit like the ones I lost. Regards Rolf

Replies are listed 'Best First'.
Re: Re: Re: Re: One-liner ascii/bin
by blakem (Monsignor) on Nov 12, 2001 at 18:10 UTC
    I double checked them and they work fine for me under perl 5.6.1 and unix. I did a quick test with perl 5.05_003 and they didn't work, but I didn't get the error message you're seeing. (looks like sprintf got smarter in the newer perls)

    -Blake

Re: Re: Re: Re: One-liner ascii/bin
by Rolf (Novice) on Nov 12, 2001 at 19:32 UTC
    Hi, I use perl, v5.6.1 built for MSWin32-x86-multi-thread Regards Rolf