Loading ...
Sorry, an error occurred while loading the content.

Passing variable to second file (cross posted to 'beginners@perl.org

Expand Messages
  • johnbr123zzz
    Hi, I have a script that is divided into 2 files for manageability. Each is about 700 lines in length and the second file is called from the first using the
    Message 1 of 1 , May 3 2:22 PM
    • 0 Attachment
      Hi,

      I have a script that is divided into 2 files for manageability. Each
      is
      about 700 lines in length and the second file is called from the
      first
      using the 'Require' method.

      Is there an easy way of passing a variable from the first file to the
      second? Or should I be looking at using @Export or something similar?

      Thanks
      John
    Your message has been successfully submitted and would be delivered to recipients shortly.