Hi, Dave,

Thanks so much for your excellent suggestion and explanation.

A lot of the syntax in your example is new to me, so I am
having a little trouble following everything.  Actually, it
is the "my @sorted_recs =" routine that I'm struggling with.
There is a missing "{" somewhere that I can't figure out
where to insert...?

All of you assumptions about the data source format are 
correct.  Here is an exact snippet from the file I need to parse..

Clock: pcm_pclk_i Pin: pad_ring_i\/pcm_pclk_pad/Y Net: pcm_pclk_i Operating Condition = worst The clock global skew = 0.113 The longest path delay = 2.663 The shortest path delay = 2.550 The longest path delay end pin: co_8port_i/I0/CLKB The shortest path delay end pin: co_8port_i/pcm_tsc_n_pclk_reg/CK Clock: ltr_clk Pin: clkgate_i/peaz_gate8/S_5/Y Net: ltr_clk Operating Condition = worst The clock global skew = 0.171 The longest path delay = 3.723 The shortest path delay = 3.552 The longest path delay end pin: co_8port_i/LOCKUP/GN The shortest path delay end pin: co_8port_i/ntr_frame_sample_c2_reg6/CK

Followed by several hundred more clocks. So the semicolon isn't the only qualifier: the "=" is necessary as well. (I goofed in my original post...sorry about that.) That's everything. Where does that missing "{" go? Thanks, -Chris

 

In reply to Re: Re: Sorting question... by Anonymous Monk
in thread Sorting question... 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.