Is the file an Excel file? If not then what you propose is very unlikely to get you any further forward (and the Perl component of the solution is not obvious). If the file doesn't render well treated as text then it is likely that the format is too complicated to guess at - have you a specification for the file format?

Unless someone just happens to know the format of the file you wish to manipulate, you will have to provide more information than you have for us to provide much help. We can point you at open and the various other Perl tools that you may need, but on their own that's not going to get you much further forward either.

The next move is yours - find out the file format, write some code, come back here if you encounter problems with the Perl aspect of the task.

True laziness is hard work

In reply to Re: Open a sequence file and changing one of the parameter and by GrandFather
in thread Open a sequence file and changing one of the parameter and by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.