the bigger picture is that i have to run a couple of perl scripts in which Script A will call script B but in order to run script B, it needs to have the same values or input that i had input in to script a. overall script A is a list of tests that are done separately and script B is a test where the tests are done one after the other in a combination. all i have to do is to connect it so that i just need to run one script then choose my options from then on. i cannot use subroutines for most of the script because the same variables are used everywhere and when i tried using pass by reference(\) i was getting a result but that result was not returned. so i thought just make script B and then call it from script A. but i need the hash variable from script a in script b so that script B works fine

In reply to Re^2: need help... by perlassassin27
in thread need help... by perlassassin27

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.