in reply to Re: In-Place Edit - Null Characters
in thread In-Place Edit - Null Characters

Thanks for the quick response. I tried your suggestion, but got the same result where only a few of the (jibberish) characters were returned, ÐÏࡱ

I didn't post the contents of test.pl because it can really be anything. The real code will does a substitution for host name and IP after it gets past (supposed to get past) the header, but for the test I just have rem statements in test.pl since it is my understanding that the command line does the while <> operation and print loop.

Replies are listed 'Best First'.
Re^3: In-Place Edit - Null Characters
by eric256 (Parson) on Dec 23, 2005 at 00:41 UTC

    If you know its not test.pl then what is it? Realy, honestly, post the code so we can help.


    ___________
    Eric Hodges $_='y==QAe=e?y==QG@>@?iy==QVq?f?=a@iG?=QQ=Q?9'; s/(.)/ord($1)-50/eigs;tr/6123457/- \/|\\\_\n/;print;
      Here you go...Content of test.pl

      #

        Gotta love annony monks. Anyway the reason I said it was that it works just fine here on a windows machine so you must be doing "something" different in your script than i am. The following prints your data out.

        perl -p -e"BEGIN {}" null.dat

        ___________
        Eric Hodges $_='y==QAe=e?y==QG@>@?iy==QVq?f?=a@iG?=QQ=Q?9'; s/(.)/ord($1)-50/eigs;tr/6123457/- \/|\\\_\n/;print;
      Content of Test.pl:

      #