Re: [MacPerl-Porters] MacPerl::DoAppleScript and $@

[email protected] (Axel Rose) Wed, 28 Nov 2001 17:40:43 +0100
Newsgroups perl.macperl.porters
Message-ID <p0433011fb82abf571176@[172.16.172.241]>
Is there any general guideline in using $!, $^E and $@?
When are they blanked out? Before each eval, system() or
system() like operation?

  if( !defined MacPerl::DoAppleScript( "da" ) ) { die "dada" }
fit's my needs.

Could $@ contain the same messages the Script Editor would return
when trying to run a faulty script?

just thoughts ... :)


Axel