in reply to Re^3: One function with 2 calls
in thread One function with 2 calls with Selenium
These error messages mean that your code in MyTestingSuite.pm is very unorganized and structurally mixed. You basically have somewhere the construct of
sub foo { ... sub bar { ... } ... }
This is not an error for Perl but very rarely something you want. I suggest that you clean up your code.
If you cannot clean up the large file, try reducing the file until it has about 20 lines and still produces the error. Then, come back here and post the reduced file together with the error messages you get.
|
|---|