It looks like Intel Macs do not properly send Apple events using the included Mac::Carbon library (which I maintain). This, from the command line, should bring the Finder to the front:
perl -MMac::AppleEvents::Simple -e 'do_event(qw/misc actv/, { bund => q[com.apple.Finder] })'It's equivalent to this AppleScript:
tell application "Finder" to activateMuch of Mac::Carbon does work fine, but ... this doesn't work at all. I don't know if it is due to a bug in the Intel Macs, or a changed behavior, or a bug in my code (most likely in AESend(), in AppleEvents.xs).