in reply to Re: Search Directory
in thread Search Directory

Hi,
Getting this back:

Software error: Can't "last" outside a loop block

Anyone knows why?

Replies are listed 'Best First'.
Re^3: Search Directory
by Grygonos (Chaplain) on Feb 01, 2005 at 20:02 UTC

    yes, its a very desriptive error. It means you tried to cut and paste the last statement i provided into your program and didn't put that statement inside a loop construct.. so perl says "Last?!? ... last what?"