[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Database Program..



Chris Nandor wrote:
>At 18.58 -0500 1998.05.20, Amitava Basu wrote:
>>I have a small program to access database file.  It works fine
>>other then when I type in 'q' in the prompt, the program does
>>not quit.  Can anyone suggest how do I get about it.  Here is
>>the programme.
>
>>if (DoSearch eq 'q') { last }
>                        ^^^^
>
>last() exits the current loop, not the program.  exit() quits the program.
>

And DoSearch should be $DoSearch I pressume.

Andreas Marcel


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch