Perl Community
Sorry for misleading. I was working on the erroneous assumption that since I 
specified 'binmode' perl would find the equivalent of nx ny in binary and do as 
required. I definitely have to read on data formats and perhaps convert the 
file to ascci, do replacements and rewrite it in binary.
Your contribution has been really worthwhile (excuse my wasting your time), but 
am very thankful.
Zilore



--- On Tue, 8/25/09, Bill Luebkert <[email protected]> wrote:

From: Bill Luebkert <[email protected]>
Subject: Re: Rewriting files
To: "zilore mumba" <[email protected]>
Cc: [email protected]
Date: Tuesday, August 25, 2009, 11:39 PM

zilore mumba wrote:
> Perl Community,
> Once more thanks very much for spending precious time to look at my 
> problem. When the input file is the text below, the replacements are made.
> However the text below is record N°. 1 of a binary file. Data follows 
> after this record.
> When I apply the script to the binary file no replacement is made. A 
> sample of a binary file is attached.
> I will continue trying based on the valuable assistance I have received.

There is no replacement because the data you are attempting to replace is
not in that file.  There is no nx or ny or nxny etc.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



      
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to