bran boguraev wrote: >is there an easy mechanism for supplying file names to a script, when it >is being run under the BBEdit "Run MacPerl" extension --- something which >emulates STDIN or ARGV binding? I've written a BBEdit extension named "Run MacPerl Front" which when run will switch to MacPerl and send the contents of the active BBEdit window to MacPerl to be executed as a Perl script. The script is run as if the Run Script menu item were used in MacPerl (e.g., STDOUT is sent to the MacPerl STDOUT window). This allows the script to be edited and run from BBEdit, and to use STDIN and MacPerl specific functions that display dialogs (which could be used to get arguments). I've attached a binhexed StuffIt archive containing the "Run MacPerl Front" extension below. Brad Hanson bhanson@avalon.net Attachment converted: ION2:Run MacPerl Front.sit (SITD/SIT!) (0000D04D)