in reply to Re: Re: Use Strict
in thread Add use strict to this?

Notice the scalar statement. The array 'cleanup' was spelled with a 1 instead of a lowercase L. At first I thought you were right but then I realized I copied the code and didn't put use strict at the top. After doing so, strict caught the error :). What Perl are you using that it didn't?

Lobster Aliens Are attacking the world!

Replies are listed 'Best First'.
Re: Worked for me.
by barbie (Deacon) on Jul 18, 2003 at 08:54 UTC
    Try a copy and paste from the example you posted. There is no '1' it's a lowercase 'L'.

    --
    Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/