Hi,

Wanted to create xlsx for below array values.

@array1 = "ss_dir1 ss_dir2 ss_dir3 ss_di4 ff_dir1 ff_dir2 ff_dir3 ff_d +ir4 ff_dir5 ff_dir6 ff_dir7 ff_dir8"; @array2 = "sr2r hr2r si2r sr2o hi2r hr2o"; @array3 = "wns tns fep";

whith the above arrays created a hash.

Example.

'ss_dir1' => { 'sr2r' => 'wns tns fep' 'hr2r' => 'wns tns fep' 'si2r' => 'wns tns fep' 'sr2o' => 'wns tns fep' 'hi2r' => 'wns tns fep' 'hr2o' => 'wns tns fep' } 'ss_dir2' => { 'sr2r' => 'wns tns fep' 'hr2r' => 'wns tns fep' 'si2r' => 'wns tns fep' 'sr2o' => 'wns tns fep' 'hi2r' => 'wns tns fep' 'hr2o' => 'wns tns fep' }

etc..

And i need to get foreach @array1 i'll have @array2 and foreach @array2 i'll have @array3.

and foreach @array3 i'll get the values from a file inside ss_dir1 dir...

Please help me.

Thanks,

gpremala

2018-06-01 Athanasius added code and paragraph tags


In reply to create xlsx by gpremala

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.