I have a directory file which contains all the paths for Defination files Test FIlesand Instruction files.
Defination file looks like
##Defination file
Def 1 :asjskajs
Def 2 :jskdjsd
Def 3 :jdksjds
Each Instruction FIle contains Instruction sets like
##Instruction File1
{
Instruction 1
run Def1
sleep
run def2
}
{
Instruction 2
run Def 3
sleep
run Def1
exit
}
likewise multiple instruction files with multiple instrcution sets
Test FIle looks like
{
run Instruction file1 Instruction 2
sleep 5
}
Can anyone guide me how to do this.Like how to run a specific intruction from an Instruction file Can I use multidimensional array to do it like Storing the Commands ,Instrcution file and Instruction in a multi array


In reply to Multidimensional Array by yhc89

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.