Hi thanks for the reply i tried using J instead of rowcounter , it does the same thing the excel spreadsheet only get the final row here is the eaxample printed output that i want to fill a spreadsheet with Hardware type is GSR
Devices = 12
Unique Device counts = 10 2
Unique Device models = GSR GSR
Unique Device processors = GRP GRP
Unique Device memory = 128Mb 256Mb
Unique Device software = 12.0(26)S3 12.0(26)S3
Model is 1
row is 1, GSR, 2, GRP, 256Mb, 12.0(26)S3
Hardware type is 6503
Devices = 23
Unique Device counts =  13 10
Unique Device models =  6503 6503
Unique Device processors =  WS-X6K-SUP2-2GE WS-X6K-SUP2-2GE
Unique Device memory =  128Mb 256Mb
Unique Device software =  7.6(8) 7.6(8)
Model is 2
row is 1, 6503, 13, WS-X6K-SUP2-2GE, 128Mb, 7.6(8)
Hardware type is 2651
Devices = 68
Unique Device counts =  68
Unique Device models =  2651
Unique Device processors =  MPC860P
Unique Device memory =  128Mb
Unique Device software =  12.3(6)
Model is 1
row is 1, 2651, 68, MPC860P, 128Mb, 12.3(6)
Hardware type is ERX1400

In reply to Re^2: problem using perl module Spreadsheet::WriteExcel cannot get data into rows when using for loop on a list to populate rows by adamlee14
in thread problem using perl module Spreadsheet::WriteExcel cannot get data into rows when using for loop on a list to populate rows by adamlee14

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.