in reply to Re: Recursive sub
in thread Recursive sub

I just tried use strict and it stops everything from printing. Should this happen?

Paul Neale

Replies are listed 'Best First'.
Re: Re: Re: Recursive sub
by BrowserUk (Patriarch) on Sep 23, 2003 at 21:03 UTC

    No. use strict; shouldn't stop everything from printing...and it doesn't on my system.

    I suspect that you are running your script from the Explorer by double clicking and the reason you see no output is because you have a compilation error that prevents your script reaching the sleep statement and so the window is disappearing before you have a chance to read the error messages produced.

    I would advise you to start using the command line, at least for testing your scripts.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
    If I understand your problem, I can solve it! Of course, the same can be said for you.

      Hmm, I am using the command line. I'll keep playing. I have a long way to go and that is the least of my problems. I think I'll go order a book;)

      Paul Neale