by sciurus · 14y ago · 0 comments
use IPC::Cmd qw{run_forked};
my $applescript = q{display alert "Hello, world!"}
my $results = run_forked( 'osascript', {child_stdin => $applescript} );You can find a list of all of the modules distributed with Perl at http://perldoc.perl.org/perlmodlib.html#THE-PERL-MODULE-LIBR...
You can find links to their documentation beginning at http://perldoc.perl.org/index-modules-A.html