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

Re: [MacPerl] Script stop capture?



Very interesting. Joseph DiVerdi's script will not run from BBEdit, 
but it runs perfectly from MacPerl. What is the problem here? 
Something to do with user input? I guess BBEdit can't handle any kind 
of user input, even "cmd-.".

Regards,

Vic

At 8:36 PM -0700 11/16/00, Joseph A. DiVerdi wrote:
>The subroutine named "END" will be executed when a MacPerl program 
>is stopped using "cmd-.".  Take a look at the following program 
>snippet:
>
>#! perl -w
>
>print "starting up...\n";
>while (1) { }
>exit;
>
>sub END { print "entered END!\n" }
>
>Best regards,
>Joseph
>--
>Joseph A. DiVerdi, Ph.D., M.B.A.
>http://www.XTRsystems.com                 970.221.3982 (voice)
>%PGPKeyID=('D50A9E33')                    970.224.3723 (fax)
-- 
*---* mailto:norton@tweney.com
|     You can't fool me. There ain't no sanity clause!
|                   - Chico Marx, A Night at the Opera
*---* http://www.tweney.com/norton/

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org