A widely used cross platform scripting language that is installed in OSX.

learn more… | top users | synonyms

4
votes
1answer
64 views

Find and replace with grep and perl

I'd like to grep and replace specific text in textfiles within a directory and all subdirs. I try the following: ls -R | egrep '.*\.txt' | perl -i -p -e 's/one.a/two.a/g' Although grep spits out a ...
0
votes
1answer
32 views

Invoke Perl script in Windows from OS X

I have a Perl script written in Windows and an AppleScript written in OS X. I want the AppleScript to invoke the Perl script that is residing in Windows. How can I do this?
1
vote
2answers
595 views

automator to run AppleScript for a shell script

For a selected file in Finder, I like to run a perl script using Services. I created an Automator process that runs an AppleScript: on run {input, parameters} tell application "Terminal" ...
1
vote
1answer
142 views

Does Apache require special settings to run a command?

I am trying to create an image using Bio::Perl/Bio::Graphics and implement it on my webserver. However, whenever I am trying to run my scripts online, the command line does not respond to run my ...
0
votes
0answers
60 views

Perl Installing Math::BigInt::GMP — Getting errors

I'm attempting to install Math::Bigint::GMP (apparently a requirement for Net::SFTP which fails to install because this fails). I tried it through CPAN, and now I'm trying it manually: $ make cp ...
0
votes
1answer
275 views

How to install modules from CPAN without sudo?

Is there a way to install modules from CPAN without resorting to sudo? (And without perlbrew, please.)
2
votes
1answer
78 views

How to implement this script on a Mac

I just read Matt Might's blog post on eliminating filler and "weasels" from my writing, and I am wondering how I would implement this on Latex to run and check my document? I know I should use ...
1
vote
2answers
309 views

MacOSX 10.8 and 32-bit perl modules

I just upgraded from MacOSX 10.6 to 10.8. Many of my projects depend on Mac::Glue, Mac::Carbon and their ilk. Even though Mac::Glue comes bundled with MacOSX 10.8 perl, it doesn't seem to work: ...
0
votes
2answers
312 views

Using gwhois on OSX

How does one install gwhois on a Mac? I'm already up and running with Homebrew; I assume that there's some magic perl configuration required before it will run. I've tried the following: brew ...
4
votes
2answers
1k views

How to install CPAN modules from the command line on OS X?

Simple question: How to install CPAN modules on OS-X like normal Linux/Unix way? I just want to type in cpan something like install Perl6::Say for example.
5
votes
2answers
6k views

How to reinstall Mac OS X built in Perl on Mountain Lion?

I updated to Mountain Lion 4 days ago and then realised that my perl scripts did not work any longer. So I installed ActivePerl 5.14 (newest version) because I thought that perl has been deleted. ...
1
vote
0answers
75 views

Check which files have changed in Mac::FSEvents in Perl?

Is it possible to see which files have been changed whenever a change event is called using Mac-FSEvents-0.08?
1
vote
2answers
3k views

Getting Perl DBD::mysql working on OS X 10.7?

I can't seem to get Perl & MySQL to talk to each other on OS X 10.7 Lion. I did all the installs by the book, I used Oracle's PKG installer for the latest MySQL Community Server, and I installed ...
2
votes
1answer
1k views

What is Lion's version of Perl 5?

What version of Perl 5 is OS X Lion shipping with?