in reply to Re: What are the rules on calling myself? (too early to check prototype)
in thread What are the rules on calling myself?

The error message came up when I ran the code.

Line 266 is where I called myself.

Do you know the subroutine rules on calling yourself?

The goal is to loop through and the directorates until I get them all

-T
  • Comment on Re^2: What are the rules on calling myself? (too early to check prototype)

Replies are listed 'Best First'.
Re^3: What are the rules on calling myself? (too early to check prototype)
by Anonymous Monk on Feb 04, 2017 at 08:36 UTC

    Hi,

    A prototype is the ($) part, delete that

    Also, do use diagnostics/splain and read more about it

      I use this:
      use strict; use warnings; use diagnostics;
      Is that what you were referring to?

      There are a lot of "$" in that code. Which one are you referring to?

      Many thanks,
      -T

        use diagnostics; Is that what you were referring to?

        Yes, when you do that, you get a longer version of the error message

        There are a lot of "$" in that code. Which one are you referring to?

        I'm only referring to ($) , to be exact "( $ )" , because thats the prototype