Help for this page
set theWindowTitle to "PerlMonks"
set theOption to text returned of (display dialog "Enter a Source fold
+er:" & return default answer "" with title theWindowTitle)
set thePerlScript to quoted form of (POSIX path of ((choose file with
+prompt "Select a script:") as Unicode text))
set theResult to do shell script thePerlScript & " -S " & theOption
display dialog "Result: " & theResult with title theWindowTitle
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (332 votes). Check out past polls.